summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-03 02:31:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-03 02:31:07 +0300
commit6007cebe8ac49ca4f3d09b6bed5e3d41a197221a (patch)
treea0ff9b7e4a75dca2d62045d8833249aea0f0450b /src/graphicsmanager.cpp
parentf43602b237228935ca468dc3388db0ab761ddbbb (diff)
downloadmv-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.gz
mv-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.bz2
mv-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.xz
mv-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.zip
Add option for create custom OpenGL context.
By default this option disabled, because may create issues.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 4b0bae9a5..28a7bd9fa 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -184,7 +184,7 @@ int GraphicsManager::detectGraphics()
SDL_Window *const window = createWindow(100, 100, 0,
SDL_ANYFORMAT | SDL_OPENGL);
mainGraphics->setWindow(window, 100, 100);
- mainGraphics->createGLContext();
+ mainGraphics->createGLContext(false);
initOpenGL();
logVersion();