summaryrefslogtreecommitdiff
path: root/src/utils/sdlhelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-02 19:33:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-02 19:33:01 +0300
commiteda234f5e156d376541044b351fd2e1e766700a3 (patch)
tree56ef425beb88fe84c280dea3a3ddeef676553589 /src/utils/sdlhelper.h
parent5ce62dae5b3848833765a19296ffd9fd7e9721d8 (diff)
downloadmv-eda234f5e156d376541044b351fd2e1e766700a3.tar.gz
mv-eda234f5e156d376541044b351fd2e1e766700a3.tar.bz2
mv-eda234f5e156d376541044b351fd2e1e766700a3.tar.xz
mv-eda234f5e156d376541044b351fd2e1e766700a3.zip
Fix resize in modernopengl with own context in SDL1.2 build.
Diffstat (limited to 'src/utils/sdlhelper.h')
-rw-r--r--src/utils/sdlhelper.h2
1 files changed, 2 insertions, 0 deletions
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