[D3D] Another DRI work-around
Lionel Ulmer
lionel.ulmer at free.fr
Sat Dec 27 04:11:50 CST 2003
As my laptop uses the DRI (which is way more buggy with Wine than the
commercial NVIDIA drivers :-/ ), I needed also to fix this check :-)
Lionel
Changelog:
- also remove in the D3D code the pedantic check on the
GetProcAddress extension
--
Lionel Ulmer - http://www.bbrox.org/
-------------- next part --------------
--- dlls/ddraw_CVS/d3ddevice/mesa.c 2003-12-21 22:35:51.000000000 +0100
+++ dlls/ddraw/d3ddevice/mesa.c 2003-12-23 20:19:18.000000000 +0100
@@ -4204,10 +4204,10 @@
}
/* Then, query all extensions */
- glXExtensions = glXQueryExtensionsString(display, DefaultScreen(display));
+ glXExtensions = glXQueryExtensionsString(display, DefaultScreen(display)); /* Note: not used right now but will for PBuffers */
glExtensions = (const char *) glGetString(GL_EXTENSIONS);
glVersion = (const char *) glGetString(GL_VERSION);
- if ((glXExtensions != NULL) && (gl_handle != NULL) && (strstr(glXExtensions, "GLX_ARB_get_proc_address"))) {
+ if (gl_handle != NULL) {
pglXGetProcAddressARB = wine_dlsym(gl_handle, "glXGetProcAddressARB", NULL, 0);
}
More information about the wine-patches
mailing list