diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/render/mglfunctions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/mglfunctions.h b/src/render/mglfunctions.h index cc9c95c6f..8972ebb17 100644 --- a/src/render/mglfunctions.h +++ b/src/render/mglfunctions.h @@ -32,7 +32,7 @@ #elif defined __APPLE__ #define getFunction(name) nullptr #elif defined __native_client__ -#define getFunction(name) SDL_GL_GetProcAddress(name) +#define getFunction(name) glGetProcAddressREGAL(name) #else #define getFunction(name) glXGetProcAddress(\ reinterpret_cast<const GLubyte*>(name)) |