Module: wine Branch: master Commit: 257d82705c9efa4fb1e4b59b28c8d916696b90d2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=257d82705c9efa4fb1e4b59b28...
Author: Roderick Colenbrander thunderbird2k@gmx.net Date: Mon Mar 3 23:45:25 2008 +0100
wgl: Add aux buffers support for use with wglChoosePixelFormatARB.
---
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 0a3745d..33b09d3 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);