http://bugs.winehq.org/show_bug.cgi?id=10184
--- Comment #22 from Roderick Colenbrander thunderbird2k@gmx.net 2008-01-12 07:05:32 --- Can someone attach a WINEDEBUG=+wgl log when starting a simple GL app (http://nehe.gamedev.net/data/lessons/vc/lesson02.zip)? I want a case which shows that DRI error with that ChoosePixelFormat message.
I suspect glXChooseFBConfig and friends aren't getting loaded because Apple isn't properly advertising some GLX strings.
If that is the case then open src/dlls/winex11.drv/opengl.c: if(glxRequireVersion(3)) { pglXChooseFBConfig = (void*)pglXGetProcAddressARB((const GLubyte *) "glXChooseFBConfig"); pglXGetFBConfigAttrib = (void*)pglXGetProcAddressARB((const GLubyte *) "glXGetFBConfigAttrib"); pglXGetVisualFromFBConfig = (void*)pglXGetProcAddressARB((const GLubyte *) "glXGetVisualFromFBConfig"); pglXQueryDrawable = (void*)pglXGetProcAddressARB((const GLubyte *) "glXQueryDrawable"); } else if(glxRequireExtension("GLX_SGIX_fbconfig")) {
replace 'if(glxRequireVersion(3)) {' by 'if(1) {' and recompile.