From 6007cebe8ac49ca4f3d09b6bed5e3d41a197221a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 3 Sep 2016 02:31:07 +0300 Subject: Add option for create custom OpenGL context. By default this option disabled, because may create issues. --- src/render/mobileopengl2graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/mobileopengl2graphics.cpp') 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); -- cgit v1.2.3-70-g09d2