summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
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/render/graphics.h
parentf43602b237228935ca468dc3388db0ab761ddbbb (diff)
downloadmanaverse-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.gz
manaverse-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.bz2
manaverse-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.tar.xz
manaverse-6007cebe8ac49ca4f3d09b6bed5e3d41a197221a.zip
Add option for create custom OpenGL context.
By default this option disabled, because may create issues.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 016f2c4ab..997ed2196 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -404,9 +404,9 @@ class Graphics notfinal
#ifdef USE_OPENGL
#ifdef USE_SDL2
- virtual void createGLContext() restrict2;
+ virtual void createGLContext(const bool custom) restrict2;
#else
- virtual void createGLContext() restrict2 A_CONST;
+ virtual void createGLContext(const bool custom) restrict2 A_CONST;
#endif
#endif