Author: greatlrd
Date: Sun Nov 11 01:22:28 2007
New Revision: 30341
URL:
http://svn.reactos.org/svn/reactos?rev=30341&view=rev
Log:
Bugfix Mesa 6.1
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
Modified:
trunk/reactos/dll/3rdparty/mesa32/src/glapi/glapi.c
Modified: trunk/reactos/dll/3rdparty/mesa32/src/glapi/glapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/mesa32/src/gl…
==============================================================================
--- trunk/reactos/dll/3rdparty/mesa32/src/glapi/glapi.c (original)
+++ trunk/reactos/dll/3rdparty/mesa32/src/glapi/glapi.c Sun Nov 11 01:22:28 2007
@@ -877,6 +877,12 @@
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 @@
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) {