mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-16 17:11:28 +00:00
Merge branch 'fix-gplusplus-name-mangling' into 'master'
Fix symbol lookup error caused by GL_GetProcAddress name being mangled by g++ See merge request STJr/UltimateZoneBuilder!16
This commit is contained in:
commit
d337096132
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