From 8d4d9fea737524b05cea08b21549aec84eeb4ef8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 2 Dec 2015 00:05:41 +0300 Subject: Fix getprocaddress in nacl. --- src/render/mglfunctions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/mglfunctions.h') 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(name)) -- cgit v1.2.3-70-g09d2