mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Examples: OpenGL3: Fixed gl3w.c for Linux when compiled with C++ compiler (#411)
This commit is contained in:
parent
38cfdafbaf
commit
dc86a8a0bf
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ static void *get_proc(const char *proc)
|
||||||
{
|
{
|
||||||
void *res;
|
void *res;
|
||||||
|
|
||||||
res = glXGetProcAddress((const GLubyte *) proc);
|
res = (void*)glXGetProcAddress((const GLubyte *) proc);
|
||||||
if (!res)
|
if (!res)
|
||||||
res = dlsym(libgl, proc);
|
res = dlsym(libgl, proc);
|
||||||
return res;
|
return res;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue