Skip to content
Snippets Groups Projects
Commit a292300e authored by Magnus Norddahl's avatar Magnus Norddahl
Browse files

- use some more sane values for the frame buffer

parent e6731115
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment