Bugfix Mesa 6.1
authorMagnus Olsen <magnus@greatlord.com>
Sat, 10 Nov 2007 22:22:28 +0000 (22:22 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Sat, 10 Nov 2007 22:22:28 +0000 (22:22 +0000)
The ICD interface does not export all functions, as it should, This change was spoken with Alesky about.
it letting us getting closer getting quake3 working in ReactOS/Windows with mesa
Waring
we can not update to mesa 7.0x for the ICD are broken in mesa 7.0x. I
Need investigate why or some with more opengl experiences should do that

svn path=/trunk/; revision=30341

reactos/dll/3rdparty/mesa32/src/glapi/glapi.c

index 5433b4b..e050d4d 100644 (file)
@@ -877,6 +877,12 @@ _glapi_get_proc_address(const char *funcName)
    struct _glapi_function * entry;
    GLuint i;
 
+/* 
+ * ReactOS fix, the ICDs interface should export all wgl, gl and few other
+ * functions, some ICDs interface even export mgl functions 
+ * so limit it to only gl is wrong 
+ *
+
 #ifdef MANGLE
    if (funcName[0] != 'm' || funcName[1] != 'g' || funcName[2] != 'l')
       return NULL;
@@ -884,7 +890,7 @@ _glapi_get_proc_address(const char *funcName)
    if (funcName[0] != 'g' || funcName[1] != 'l')
       return NULL;
 #endif
-
+*/
    /* search extension functions first */
    for (i = 0; i < NumExtEntryPoints; i++) {
       if (strcmp(ExtEntryTable[i].name, funcName) == 0) {