[Bug 6812] opengl in qt window does not display
Wine Bugs
wine-bugs at winehq.org
Tue Aug 7 16:51:05 CDT 2007
http://bugs.winehq.org/show_bug.cgi?id=6812
------- Additional Comments From xerox_xerox2000 at yahoo.co.uk 2007-07-08 16:51 -------
Just a side-note on this bug: I get this very same output like you in Doom3 retail:
trace:wgl:dump_PIXELFORMATDESCRIPTOR - dwFlags : PFD_DOUBLEBUFFER
PFD_DRAW_TO_WINDOW PFD_STEREO PFD_SUPPORT_OPENGL
trace:wgl:X11DRV_ChoosePixelFormat No matching mode was found returning 0
trace:wgl:X11DRV_DescribePixelFormat (0x17c1218,0,0,(nil))
err:wgl:ConvertPixelFormatWGLtoGLX invalid iPixelFormat 0
See http://bugs.winehq.org/show_bug.cgi?id=7015 to see that there is a bug in
wine's code how it handles the PFD_STEREO stereo flag. I dunno if this the
problem here too however. For now i use following stupid hack below to start
Doom3, maybe it changes something in your app too
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index ca3c50a..5653dd6 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -1057,7 +1057,7 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
}
/* Stereo */
- pglXGetFBConfigAttrib(gdi_display, fmt->fbconfig, GLX_STEREO, &value); if
(value) dwFlags |= PFD_STEREO;
+ pglXGetFBConfigAttrib(gdi_display, fmt->fbconfig, GLX_STEREO, &value); if
(value) //dwFlags |= PFD_STEREO;
if (!(ppfd->dwFlags & PFD_STEREO_DONTCARE) && (ppfd->dwFlags & PFD_STEREO)) {
if (!(dwFlags & PFD_STEREO)) {
TRACE("stereo mismatch\n");
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list