mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
- use some more sane values for the frame buffer
This commit is contained in:
parent
e6731115ed
commit
a292300eaa
1 changed files with 5 additions and 5 deletions
|
@ -200,12 +200,12 @@ HGLRC OpenGLCreationHelper::CreateContext(HDC hdc, int major_version, int minor_
|
|||
pfd.iPixelType = PFD_TYPE_RGBA;
|
||||
pfd.dwFlags |= PFD_DOUBLEBUFFER;
|
||||
pfd.cColorBits = 24;
|
||||
pfd.cRedBits = 4;
|
||||
pfd.cGreenBits = 4;
|
||||
pfd.cBlueBits = 4;
|
||||
pfd.cAlphaBits = 4;
|
||||
pfd.cRedBits = 8;
|
||||
pfd.cGreenBits = 8;
|
||||
pfd.cBlueBits = 8;
|
||||
pfd.cAlphaBits = 8;
|
||||
pfd.cDepthBits = 24;
|
||||
pfd.cStencilBits = 0;
|
||||
pfd.cStencilBits = 8;
|
||||
int pixelformat = ChoosePixelFormat(hdc, &pfd);
|
||||
SetPixelFormat(hdc, pixelformat, &pfd);
|
||||
|
||||
|
|
Loading…
Reference in a new issue