mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
wgl: Add aux buffers support for use with wglChoosePixelFormatARB.
This commit is contained in:
parent
54a376f228
commit
257d82705c
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue