1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-01-29 19:17:24 +01:00

Examples: OpenGL3: Fixed gl3w.c for Linux when compiled with C++ compiler (#411)

This commit is contained in:
ocornut 2015-11-22 17:16:55 +00:00
parent 38cfdafbaf
commit dc86a8a0bf

View File

@ -82,7 +82,7 @@ static void *get_proc(const char *proc)
{
void *res;
res = glXGetProcAddress((const GLubyte *) proc);
res = (void*)glXGetProcAddress((const GLubyte *) proc);
if (!res)
res = dlsym(libgl, proc);
return res;