[Bug 2260] New: opengl: enumerate pixel formats then choose pixel format fails
wine-bugs at winehq.org
Fri May 28 20:45:22 CDT 2004
Summary: opengl: enumerate pixel formats then choose pixel format
AssignedTo: wine-bugs at winehq.org
ReportedBy: colin at gibbsonline.net
This was discovered trying to run some of the nvida demos. In particular the
Chameleon demo runs when this problem is fixed.
The error I get from the app is:
GLUT: Fatal Error in DummyAppName: pixel format with necessary capabilities not
Tracing it reveals that it calls X11DRV_DescribePixelFormat MAX_PIXELFORMATS
times. So the physDev->visuals array gets filled with visuals from calls to
glXChooseVisual. Then it calls X11DRV_ChoosePixelFormat which uses
XGetVisualInfo and tries to match that with a value in the array which is where
it fails. It seems glXChooseVisual gives different values from XGetVisualInfo.
So the fix I tried was to use XGetVisualInfo in DescribePixelFormats as well.
Which seems to work as least for the nvida demos.
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