diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-03 02:31:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-03 02:31:07 +0300 |
commit | 6007cebe8ac49ca4f3d09b6bed5e3d41a197221a (patch) | |
tree | a0ff9b7e4a75dca2d62045d8833249aea0f0450b /src/graphicsmanager.cpp | |
parent | f43602b237228935ca468dc3388db0ab761ddbbb (diff) | |
download | plus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.gz plus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.bz2 plus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.xz plus-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.cpp | 2 |
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(); |