summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r--src/utils/sdl2helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h
index 9f625ee84..6f59b27a6 100644
--- a/src/utils/sdl2helper.h
+++ b/src/utils/sdl2helper.h
@@ -51,6 +51,10 @@ namespace SDL
SDL_Thread *createThread(SDL_ThreadFunction fn,
const char *restrict const name,
void *restrict const data);
+
+ void *createGLContext(SDL_Window *const window,
+ const int major,
+ const int minor);
} // namespace SDL
#endif // USE_SDL2