Skip to content

Commit

Permalink
Add missing #include <dlfcn.h> (required by dlsym)
Browse files Browse the repository at this point in the history
  • Loading branch information
jalopezg-git authored and gonetz committed Feb 18, 2024
1 parent d1d5308 commit 716d5a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Graphics/OpenGLContext/GLFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define GL_GET_PROC_ADR(proc_type, proc_name) ptr##proc_name = (proc_type) glGetProcAddress("gl"#proc_name)

#elif defined(VERO4K) || defined(ODROID) || defined(VC)
#include <dlfcn.h>

#define GL_GET_PROC_ADR(proc_type, proc_name) ptr##proc_name = (proc_type) dlsym(gles2so, "gl"#proc_name);

Expand Down

0 comments on commit 716d5a3

Please sign in to comment.