https://bugs.winehq.org/show_bug.cgi?id=40267
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- Can you try this patch?
--- a/dlls/opengl32/wgl.c +++ a/dlls/opengl32/wgl.c @@ -443,7 +443,7 @@ INT WINAPI wglChoosePixelFormat(HDC hdc, const PIXELFORMATDESCRIPTOR* ppfd) { if (!wglDescribePixelFormat( hdc, i, sizeof(format), &format )) continue;
- if (ppfd->iPixelType != format.iPixelType) + if ((ppfd->iPixelType == PFD_TYPE_COLORINDEX ? PFD_TYPE_COLORINDEX : PFD_TYPE_RGBA) != format.iPixelType) { TRACE( "pixel type mismatch for iPixelFormat=%d\n", i ); continue;
If it works for you then this bug is most likely a dupe of bug 14640.