mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 11:48:04 +00:00
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 svn path=/trunk/; revision=30341
This commit is contained in:
parent
aa80331a5c
commit
ddb0cabc04
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue