From 4577cc9c922afb81b9609265e4eb6a83b6004484 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 11 Mar 2013 02:05:28 +0000 Subject: [PATCH] win32-a little tweak to ogl display method, should fix some video cards.. dont think it should break anything --- desmume/src/windows/ogl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/windows/ogl.cpp b/desmume/src/windows/ogl.cpp index 8e8945ef8..d25c1f35d 100644 --- a/desmume/src/windows/ogl.cpp +++ b/desmume/src/windows/ogl.cpp @@ -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;