Restore compilability when HAVE_DLFCN_H = 0

This commit is contained in:
ManoloFLTK 2020-01-27 17:38:46 +01:00
parent 62cc0bba74
commit 982892a98b
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ void* Fl_Gl_Window_Driver::GetProcAddress(const char *procName) {
# endif // RTLD_DEFAULT
#elif defined(HAVE_GLXGETPROCADDRESSARB)
return glXGetProcAddressARB((const GLubyte *)procName);
return (void*)glXGetProcAddressARB((const GLubyte *)procName);
#else
return 0;