summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
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/render/modernopenglgraphics.cpp
parent2c2d6c379cf994a61491983780edd3ab9852eaf4 (diff)
downloadplus-4a21c51e2183c41079342a20239cb8d10f8f2e0c.tar.gz
plus-4a21c51e2183c41079342a20239cb8d10f8f2e0c.tar.bz2
plus-4a21c51e2183c41079342a20239cb8d10f8f2e0c.tar.xz
plus-4a21c51e2183c41079342a20239cb8d10f8f2e0c.zip
In OpenGL context creation add support for compatability context.
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index e8d0756cf..fc5e40062 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -1260,7 +1260,7 @@ void ModernOpenGLGraphics::createGLContext()
if (mGLContext)
SDL::makeCurrentContext(mGLContext);
else
- mGLContext = SDL::createGLContext(mWindow, 3, 3);
+ mGLContext = SDL::createGLContext(mWindow, 3, 3, 0x01);
}
void ModernOpenGLGraphics::finalize(ImageCollection *const col)