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/render/mobileopengl2graphics.cpp | |
parent | f43602b237228935ca468dc3388db0ab761ddbbb (diff) | |
download | manaplus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.gz manaplus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.bz2 manaplus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.xz manaplus-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.zip |
Add option for create custom OpenGL context.
By default this option disabled, because may create issues.
Diffstat (limited to 'src/render/mobileopengl2graphics.cpp')
-rw-r--r-- | src/render/mobileopengl2graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/mobileopengl2graphics.cpp b/src/render/mobileopengl2graphics.cpp index 163185bb6..576bc67ab 100644 --- a/src/render/mobileopengl2graphics.cpp +++ b/src/render/mobileopengl2graphics.cpp @@ -1227,9 +1227,9 @@ void MobileOpenGL2Graphics::clearScreen() const restrict2 GL_STENCIL_BUFFER_BIT); } -void MobileOpenGL2Graphics::createGLContext() restrict2 +void MobileOpenGL2Graphics::createGLContext(const bool custom) restrict2 { - Graphics::createGLContext(); + Graphics::createGLContext(custom); /* if (mGLContext) SDL::makeCurrentContext(mGLContext); |