summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.cpp
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/sdl2helper.cpp
parent5ce62dae5b3848833765a19296ffd9fd7e9721d8 (diff)
downloadmanaplus-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.cpp')
-rw-r--r--src/utils/sdl2helper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/sdl2helper.cpp b/src/utils/sdl2helper.cpp
index 3b2b988a0..07f8d965c 100644
--- a/src/utils/sdl2helper.cpp
+++ b/src/utils/sdl2helper.cpp
@@ -126,4 +126,8 @@ void *SDL::createGLContext(SDL_Window *const window,
return context;
}
+void SDL::makeCurrentContext(void *const context A_UNUSED)
+{
+}
+
#endif // USE_SDL2