summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-10 21:15:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-10 21:15:55 +0300
commit4a21c51e2183c41079342a20239cb8d10f8f2e0c (patch)
tree235123f5c01824f04576b9b823e0b479cfab050d /src/utils/sdl2helper.h
parent2c2d6c379cf994a61491983780edd3ab9852eaf4 (diff)
downloadmv-4a21c51e2183c41079342a20239cb8d10f8f2e0c.tar.gz
mv-4a21c51e2183c41079342a20239cb8d10f8f2e0c.tar.bz2
mv-4a21c51e2183c41079342a20239cb8d10f8f2e0c.tar.xz
mv-4a21c51e2183c41079342a20239cb8d10f8f2e0c.zip
In OpenGL context creation add support for compatability context.
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r--src/utils/sdl2helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h
index b7ab35d84..0f8f7c6ff 100644
--- a/src/utils/sdl2helper.h
+++ b/src/utils/sdl2helper.h
@@ -54,7 +54,8 @@ namespace SDL
void *createGLContext(SDL_Window *const window,
const int major,
- const int minor);
+ const int minor,
+ const int profile);
void makeCurrentContext(void *const context);
} // namespace SDL