diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-02 00:05:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-02 02:16:42 +0300 |
commit | 8d4d9fea737524b05cea08b21549aec84eeb4ef8 (patch) | |
tree | e5de257770218afad3da1c911ca58eba81a5096d /src/render | |
parent | 6863f21c65f416759afd77fb55d35df0cf8b5c29 (diff) | |
download | manaverse-8d4d9fea737524b05cea08b21549aec84eeb4ef8.tar.gz manaverse-8d4d9fea737524b05cea08b21549aec84eeb4ef8.tar.bz2 manaverse-8d4d9fea737524b05cea08b21549aec84eeb4ef8.tar.xz manaverse-8d4d9fea737524b05cea08b21549aec84eeb4ef8.zip |
Fix getprocaddress in nacl.
Diffstat (limited to 'src/render')
-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)) |