win32-a little tweak to ogl display method, should fix some video cards.. dont think it should break anything
This commit is contained in:
parent
7f7beb6027
commit
4577cc9c92
|
@ -74,7 +74,7 @@ bool initContext(HWND hwnd, HGLRC *hRC)
|
|||
memset(&pfd,0, sizeof(PIXELFORMATDESCRIPTOR));
|
||||
pfd.nSize = sizeof(PIXELFORMATDESCRIPTOR);
|
||||
pfd.nVersion = 1;
|
||||
pfd.dwFlags = PFD_SUPPORT_OPENGL | PFD_DRAW_TO_WINDOW;
|
||||
pfd.dwFlags = PFD_SUPPORT_OPENGL | PFD_DRAW_TO_WINDOW | PFD_DOUBLEBUFFER;
|
||||
pfd.iPixelType = PFD_TYPE_RGBA;
|
||||
pfd.cColorBits = 24;
|
||||
pfd.cAlphaBits = 8;
|
||||
|
|
Loading…
Reference in New Issue