http://bugs.winehq.org/show_bug.cgi?id=11991
--- Comment #16 from denis bonnenfant denis.bonnenfant@diderot.org 2008-05-26 04:54:55 --- No changes in rc2 for SolidWorks too.
I tried to investigate it a little bit, but I didn't understand how the hdc is initialized.
When opening a new part, the opengl viewport is created, and everything is displayed correctly in the graphics window.
Every time I do some operation in this window, have this messages :
trace:wgl:wglGetCurrentContext returning 0xe8d6098 trace:wgl:wglGetCurrentContext returning 0xe8d6098 trace:wgl:wglGetCurrentDC found context: 0xe8d6098 trace:wgl:wglGetCurrentDC returning hdc: 0x3530 trace:wgl:wine_glFlush () trace:wgl:wglMakeCurrent hdc: ((nil)), hglrc: ((nil)) trace:wgl:X11DRV_wglMakeCurrent (0x344,(nil)) trace:wgl:X11DRV_wglMakeCurrent returning True
the strange thing is that wglMakeCurrent hdc: ((nil)) is not using what wglGetCurrentDC returns
If i click on some toolbars, or menus, or anywhere except the graphics window, i get this :
trace:wgl:wglMakeCurrent hdc: (0x3530), hglrc: (0xe8d6098) trace:wgl:X11DRV_wglMakeCurrent (0x3530,0xe8d6098) trace:wgl:X11DRV_wglMakeCurrent make current for dis 0x7c03e618, drawable (nil), ctx 0x7c1d96dc X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 128 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 309209 Current serial number in output stream: 309209