[PATCH] Add aux buffers support for use with wglChoosePixelFormatARB and friends.
Roderick Colenbrander
thunderbird2k at gmx.net
Mon Mar 3 16:45:25 CST 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 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);
--
1.5.3.4
--========GMX239421204584132895882--
More information about the wine-patches
mailing list