Added extgl check to agl
This commit is contained in:
parent
a7f8424355
commit
1f0a6136b7
|
@ -1497,8 +1497,13 @@ static void *extgl_GetProcAddress(char *name)
|
|||
#endif
|
||||
|
||||
#ifdef _AGL
|
||||
void *t =(void *)aglGetProcAddress(name);
|
||||
|
||||
void *t = aglGetProcAddress(name);
|
||||
if (t == NULL) {
|
||||
#ifdef _DEBUG
|
||||
printf("Could not locate symbol %s\n", name);
|
||||
#endif
|
||||
extgl_error = 1;
|
||||
}
|
||||
return t;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue