mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-16 17:11:28 +00:00
Fix symbol lookup error caused by GL_GetProcAddress name being mangled by g++
This commit is contained in:
parent
7fda81ac57
commit
1999799d65
1 changed files with 1 additions and 1 deletions
|
@ -934,7 +934,7 @@ std::unique_ptr<IOpenGLContext> IOpenGLContext::Create(void* disp, void* window)
|
|||
return ctx;
|
||||
}
|
||||
|
||||
void* GL_GetProcAddress(const char* function_name)
|
||||
extern "C" void* GL_GetProcAddress(const char* function_name)
|
||||
{
|
||||
if (glx_global.glXGetProcAddressARB)
|
||||
return (void*)glx_global.glXGetProcAddressARB((GLubyte*)function_name);
|
||||
|
|
Loading…
Reference in a new issue