Problem with older wgl patch

Tim Savannah kata198 at gmail.com
Fri Jan 13 12:17:45 CST 2006


On the newest wine, trying to start opengl programs such as World of
Warcraft yields an error such as this:

trace:opengl:wine_glCullFace (1029)
trace:opengl:wine_glMatrixMode (5889)
trace:opengl:wine_glLoadMatrixf (0x7fbafbb8)
trace:opengl:wglMakeCurrent (0x368,0x7fd7b7d0)
trace:opengl:create_glxpixmap return 1800054
trace:opengl:wglMakeCurrent  make current for dis 0x7c01baf8, drawable
0x1800054, ctx 0x7c1c01d8
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  144 (GLX)
  Minor opcode of failed request:  13 (X_GLXCreateGLXPixmap)
  Serial number of failed request:  412
  Current serial number in output stream:  413

I don't know enough about wgl to offer any suggestions to the problem, other
than the source seems to be this patch:
http://cvs.winehq.org/cvsweb/wine/dlls/opengl32/wgl.c.diff?r1=1.71&r2=1.72&sortby=date

Reverting that patch and adding

+  DWORD type = GetObjectType(hdc);

where that patch placed it in the file allows opengl to work again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20060113/865ea0ce/attachment.htm


More information about the wine-devel mailing list