On the newest wine, trying to start opengl programs such as World of Warcraft yields an error such as this:<br><br>trace:opengl:wine_glCullFace (1029)<br>trace:opengl:wine_glMatrixMode (5889)<br>trace:opengl:wine_glLoadMatrixf (0x7fbafbb8)
<br>trace:opengl:wglMakeCurrent (0x368,0x7fd7b7d0)<br>trace:opengl:create_glxpixmap return 1800054<br>trace:opengl:wglMakeCurrent&nbsp; make current for dis 0x7c01baf8, drawable 0x1800054, ctx 0x7c1c01d8<br>X Error of failed request:&nbsp; BadMatch (invalid parameter attributes)
<br>&nbsp; Major opcode of failed request:&nbsp; 144 (GLX)<br>&nbsp; Minor opcode of failed request:&nbsp; 13 (X_GLXCreateGLXPixmap)<br>&nbsp; Serial number of failed request:&nbsp; 412<br>&nbsp; Current serial number in output stream:&nbsp; 413<br><br>I don't know enough about wgl to offer any suggestions to the problem, other than the source seems to be this patch:
<br><a href="http://cvs.winehq.org/cvsweb/wine/dlls/opengl32/wgl.c.diff?r1=1.71&amp;r2=1.72&amp;sortby=date">http://cvs.winehq.org/cvsweb/wine/dlls/opengl32/wgl.c.diff?r1=1.71&amp;r2=1.72&amp;sortby=date</a><br><br>Reverting that patch and adding
<br><pre>+  DWORD type = GetObjectType(hdc);</pre>where that patch placed it in the file allows opengl to work again.<br>