glGetProcAddress() should return SDL_FunctionPointer
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);
|
||||
|
|
Loading…
Reference in New Issue