mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix incorrect OpenGL function init in MacOS
This commit is contained in:
parent
dd7fe47000
commit
3c875ef3a6
|
@ -45,7 +45,7 @@ static void* AppleGLGetProcAddress (const char *name)
|
|||
return (image ? dlsym(image, name) : NULL);
|
||||
}
|
||||
#define glGetProcAddress AppleGLGetProcAddress
|
||||
#define GL_GET_PROC_ADR(proc_type, proc_name) ptr##proc_name = (proc_type) glGetProcAddress(#proc_name)
|
||||
#define GL_GET_PROC_ADR(proc_type, proc_name) ptr##proc_name = (proc_type) glGetProcAddress("gl"#proc_name)
|
||||
|
||||
#elif defined(OS_IOS)
|
||||
#include <dlfcn.h>
|
||||
|
|
Loading…
Reference in New Issue
Block a user