diff --git a/src/video/qnx/gl.c b/src/video/qnx/gl.c index 29393fbaa6..a9338ba38a 100644 --- a/src/video/qnx/gl.c +++ b/src/video/qnx/gl.c @@ -154,7 +154,7 @@ glLoadLibrary(_THIS, const char *name) * @param proc Function name * @return Function address */ -void * +SDL_FunctionPointer glGetProcAddress(_THIS, const char *proc) { return eglGetProcAddress(proc); diff --git a/src/video/qnx/sdl_qnx.h b/src/video/qnx/sdl_qnx.h index 65e07988e9..3a3fddb75e 100644 --- a/src/video/qnx/sdl_qnx.h +++ b/src/video/qnx/sdl_qnx.h @@ -37,7 +37,7 @@ extern void handleKeyboardEvent(screen_event_t event); extern int glGetConfig(EGLConfig *pconf, int *pformat); extern int glLoadLibrary(_THIS, const char *name); -void *glGetProcAddress(_THIS, const char *proc); +extern SDL_FunctionPointer glGetProcAddress(_THIS, const char *proc); extern SDL_GLContext glCreateContext(_THIS, SDL_Window *window); extern int glSetSwapInterval(_THIS, int interval); extern int glSwapWindow(_THIS, SDL_Window *window);