1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix incorrect OpenGL function init in iOS

This commit is contained in:
fzurita 2019-09-30 10:22:32 -04:00 committed by Sergey Lipskiy
parent 3c875ef3a6
commit ffaaf1f664

View File

@ -56,7 +56,7 @@ static void* IOSGLGetProcAddress (const char *name)
}
#define glGetProcAddress IOSGLGetProcAddress
#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)
#endif