mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-02 03:22:35 +00:00
glGetProcAddress() should return SDL_FunctionPointer
This commit is contained in:
committed by
Ryan C. Gordon
parent
bc9e0bb7ad
commit
b98a501e0d
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user