All pastes #157420 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-09-01 15:59 UTC
rendered paste body
diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 2dd59a8..9e25698 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -590,7 +590,6 @@ BOOL WINAPI wglMakeCurrent(HDC hdc,
       if(ret && type == OBJ_MEMDC)
       {
           ctx->do_escape = TRUE;
-          glDrawBuffer(GL_FRONT_LEFT);
       }
   }
   LEAVE_GL();
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 2fe6c9d..327a612 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -607,7 +607,7 @@ XVisualInfo *X11DRV_setup_opengl_visual(
 {
     XVisualInfo *visual = NULL;
     /* In order to support OpenGL or D3D, we require a double-buffered visual and stencil buffer support, */
-    int dblBuf[] = {GLX_RGBA,GLX_DEPTH_SIZE, 24, GLX_STENCIL_SIZE, 8, GLX_ALPHA_SIZE, 8, GLX_DOUBLEBUFFER, None};
+    int dblBuf[] = {GLX_RGBA,GLX_DEPTH_SIZE, 32, GLX_STENCIL_SIZE, 8, GLX_ALPHA_SIZE, 8, GLX_DOUBLEBUFFER, None};
     if (!has_opengl()) return NULL;

     wine_tsx11_lock();