diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-02 19:33:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-02 19:33:01 +0300 |
commit | eda234f5e156d376541044b351fd2e1e766700a3 (patch) | |
tree | 56ef425beb88fe84c280dea3a3ddeef676553589 /src/utils/sdl2helper.h | |
parent | 5ce62dae5b3848833765a19296ffd9fd7e9721d8 (diff) | |
download | manaplus-eda234f5e156d376541044b351fd2e1e766700a3.tar.gz manaplus-eda234f5e156d376541044b351fd2e1e766700a3.tar.bz2 manaplus-eda234f5e156d376541044b351fd2e1e766700a3.tar.xz manaplus-eda234f5e156d376541044b351fd2e1e766700a3.zip |
Fix resize in modernopengl with own context in SDL1.2 build.
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r-- | src/utils/sdl2helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |