Commit 5374d623 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

wgl: Add aux buffers support to DescribePixelFormat.

parent 220163ee
......@@ -1367,6 +1367,10 @@ int X11DRV_DescribePixelFormat(X11DRV_PDEVICE *physDev,
ppfd->cAccumBlueBits = bb;
ppfd->cAccumAlphaBits = ab;
/* Aux bits */
pglXGetFBConfigAttrib(gdi_display, fmt->fbconfig, GLX_AUX_BUFFERS, &value);
ppfd->cAuxBuffers = value;
/* Depth bits */
pglXGetFBConfigAttrib(gdi_display, fmt->fbconfig, GLX_DEPTH_SIZE, &value);
ppfd->cDepthBits = value;
......@@ -1377,8 +1381,6 @@ int X11DRV_DescribePixelFormat(X11DRV_PDEVICE *physDev,
wine_tsx11_unlock();
/* Aux : to do ... */
ppfd->iLayerType = PFD_MAIN_PLANE;
if (TRACE_ON(opengl)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment