[Bug 10184] Wine unable to use Mac OS X OpenGL
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Jan 12 07:05:33 CST 2008
http://bugs.winehq.org/show_bug.cgi?id=10184
--- Comment #22 from Roderick Colenbrander <thunderbird2k at 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list