[PATCH] Add missing WGL_STEREO_ARB to ConvertAttribWGLtoGLX to silence some errors.
Roderick Colenbrander
thunderbird2k at gmx.net
Mon Mar 31 17:59:11 CDT 2008
---
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];
--
1.5.3.4
--========GMX113691206997386579615--
More information about the wine-patches
mailing list