Commit 7eb0c463 authored by Torge Matthies's avatar Torge Matthies Committed by Alexandre Julliard

winemac.drv: Set PFD_SUPPORT_COMPOSITION for hardware-accelerated pixel formats.

parent 208a40cd
......@@ -4326,6 +4326,7 @@ static int macdrv_wglDescribePixelFormat(HDC hdc, int fmt, UINT size, PIXELFORMA
descr->dwFlags = PFD_SUPPORT_OPENGL;
if (pf->window) descr->dwFlags |= PFD_DRAW_TO_WINDOW;
if (!pf->accelerated) descr->dwFlags |= PFD_GENERIC_FORMAT;
else descr->dwFlags |= PFD_SUPPORT_COMPOSITION;
if (pf->double_buffer) descr->dwFlags |= PFD_DOUBLEBUFFER;
if (pf->stereo) descr->dwFlags |= PFD_STEREO;
if (pf->backing_store) descr->dwFlags |= PFD_SWAP_COPY;
......
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