From eda234f5e156d376541044b351fd2e1e766700a3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 2 Jul 2014 19:33:01 +0300 Subject: Fix resize in modernopengl with own context in SDL1.2 build. --- src/utils/sdlhelper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils/sdlhelper.h') diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h index 328c093cd..92fcaba65 100644 --- a/src/utils/sdlhelper.h +++ b/src/utils/sdlhelper.h @@ -60,6 +60,8 @@ namespace SDL void *createGLContext(SDL_Surface *const window A_UNUSED, const int major, const int minor); + + void makeCurrentContext(void *const context); } // namespace SDL #endif // USE_SDL2 -- cgit v1.2.3-60-g2f50