From 4a21c51e2183c41079342a20239cb8d10f8f2e0c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 10 Jul 2014 21:15:55 +0300 Subject: In OpenGL context creation add support for compatability context. --- src/render/modernopenglgraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/modernopenglgraphics.cpp') 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) -- cgit v1.2.3-60-g2f50