pglXMakeCurrent causes wine to crash on Mac os x

Tobias Platen wp1083627-tobias at
Fri Nov 16 14:36:21 CST 2007

if i run wine on Mac os x 10.4.10 with Apples X11 (opengl linked 
staticly) i get the
following runtime errors;

X Error of failed request:  BadValue (integer parameter out of range for 
  Major opcode of failed request:  129 (Apple-DRI)
  Minor opcode of failed request:  2 ()
  Value in failed request:  0x57
  Serial number of failed request:  16
  Current serial number in output stream:  16

I have found out that commenting out the bad code will not cause that X 
wine crashes in a access violation (SIGSEGV)

if (ctx) {
     //   pglXMakeCurrent(gdi_display, win, ctx);
    } else {
        ERR(" couldn't initialize OpenGL, expect problems\n");
        return FALSE;
Does anybody know how to get opengl working on the mac.

More information about the wine-devel mailing list