From 257d82705c9efa4fb1e4b59b28c8d916696b90d2 Mon Sep 17 00:00:00 2001 From: Roderick Colenbrander Date: Mon, 3 Mar 2008 23:45:25 +0100 Subject: [PATCH] wgl: Add aux buffers support for use with wglChoosePixelFormatARB. --- dlls/winex11.drv/opengl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index 0a3745d2fa1..33b09d34843 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -618,6 +618,11 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, Wine_GLPBuf TRACE("pAttr[%d] = %x\n", cur, iWGLAttr[cur]); switch (iWGLAttr[cur]) { + case WGL_AUX_BUFFERS_ARB: + pop = iWGLAttr[++cur]; + PUSH2(oGLXAttr, GLX_AUX_BUFFERS, pop); + TRACE("pAttr[%d] = GLX_AUX_BUFFERS: %d\n", cur, pop); + break; case WGL_COLOR_BITS_ARB: pop = iWGLAttr[++cur]; PUSH2(oGLXAttr, GLX_BUFFER_SIZE, pop);