| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | #define Emscripten_GLES_UnloadLibrary SDL_EGL_UnloadLibrary |
| | | #define Emscripten_GLES_SetSwapInterval SDL_EGL_SetSwapInterval |
| | | #define Emscripten_GLES_GetSwapInterval SDL_EGL_GetSwapInterval |
| | | #define Emscripten_GLES_DeleteContext SDL_EGL_DeleteContext |
| | | |
| | | extern int Emscripten_GLES_LoadLibrary(_THIS, const char *path); |
| | | extern void Emscripten_GLES_DeleteContext(_THIS, SDL_GLContext context); |
| | | extern SDL_GLContext Emscripten_GLES_CreateContext(_THIS, SDL_Window * window); |
| | | extern int Emscripten_GLES_SwapWindow(_THIS, SDL_Window * window); |
| | | extern int Emscripten_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context); |