summaryrefslogtreecommitdiff
path: root/src/utils/sdlhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sdlhelper.h')
-rw-r--r--src/utils/sdlhelper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h
index a471268af..328c093cd 100644
--- a/src/utils/sdlhelper.h
+++ b/src/utils/sdlhelper.h
@@ -56,6 +56,10 @@ namespace SDL
SDL_Thread *createThread(int (SDLCALL *fn)(void *),
const char *const name A_UNUSED,
void *const data);
+
+ void *createGLContext(SDL_Surface *const window A_UNUSED,
+ const int major,
+ const int minor);
} // namespace SDL
#endif // USE_SDL2