Roderick Colenbrander : wgl: Add missing WGL_STEREO_ARB to ConvertAttribWGLtoGLX.

Alexandre Julliard julliard at winehq.org
Tue Apr 1 06:51:28 CDT 2008


Module: wine
Branch: master
Commit: 8a5838274b5250c4c426b32ab02e44c3229c1a23
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8a5838274b5250c4c426b32ab02e44c3229c1a23

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Mon Mar 31 22:59:11 2008 +0000

wgl: Add missing WGL_STEREO_ARB to ConvertAttribWGLtoGLX.

---

 dlls/winex11.drv/opengl.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 5a0469c..1a0a52f 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -664,6 +664,11 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, Wine_GLPBuf
       TRACE("pAttr[%d] = GLX_DOUBLEBUFFER: %d\n", cur, pop);
       doublebuf = pop;
       break;
+    case WGL_STEREO_ARB:
+      pop = iWGLAttr[++cur];
+      PUSH2(oGLXAttr, GLX_STEREO, pop);
+      TRACE("pAttr[%d] = GLX_STEREO: %d\n", cur, pop);
+      break;
 
     case WGL_PIXEL_TYPE_ARB:
       pop = iWGLAttr[++cur];




More information about the wine-cvs mailing list