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/sdl2helper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils/sdl2helper.h') diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h index 6f59b27a6..b7ab35d84 100644 --- a/src/utils/sdl2helper.h +++ b/src/utils/sdl2helper.h @@ -55,6 +55,8 @@ namespace SDL void *createGLContext(SDL_Window *const window, const int major, const int minor); + + void makeCurrentContext(void *const context); } // namespace SDL #endif // USE_SDL2 -- cgit v1.2.3-60-g2f50