[D3D] Another DRI work-around

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
--- 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);
     }
     

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux