glGetProcAddress() should return SDL_FunctionPointer

main
Elad Lahav 2023-01-10 05:21:08 -05:00 committed by Ryan C. Gordon
parent bc9e0bb7ad
commit b98a501e0d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);