X11Drv: move WGL extension code

Chris Rankin rankincj at yahoo.com
Fri Sep 1 07:19:43 CDT 2006


> The way WGL extensions are loaded is different. The old code correctly advertised the names of
> available WGL extensions but the wglGetProcAddress code didn't work correctly. Even if an
> extension wasn't advertised you could get a function pointer to the functions. On Windows
> wglGetProcAddress would return NULL.

Interesting, because I can well imagine people testing for the presence of an extension by trying
to get a pointer to it.

> I have tested the code using various OpenGL programs including the now famous World of Warcraft
> and everything works fine ;)

And this is even more interesting :-)! So you have now run WoW in OpenGL mode using Wine CVS +
your patch. I'm guessing the login screen didn't look like this though (Wine 0.9.20, XOrg 7.1):

https://bugs.freedesktop.org/attachment.cgi?id=6721

The Direct3D version is far prettier on my machine, although it does crash when I quit:

https://bugs.freedesktop.org/attachment.cgi?id=6722

Dare I ask what your OpenGL WoW login screen looked like before you applied your patch to Wine,
please? And which version of XFree / XOrg / DRI / graphics driver you have?

Thanks,
Chris



		
___________________________________________________________ 
All New Yahoo! Mail – Tired of Vi at gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html



More information about the wine-patches mailing list