diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-18 12:14:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-18 12:14:09 +0300 |
commit | dac85c38849fca61253fe8ed46a06be3acd0bcad (patch) | |
tree | 3cb0fdfcb7f572c21bcf8f79f3550c0544478a22 /src/render/graphics.h | |
parent | 0a602e0b62ee764cc1c1befdc75f2f4b875adc43 (diff) | |
download | manaplus-dac85c38849fca61253fe8ed46a06be3acd0bcad.tar.gz manaplus-dac85c38849fca61253fe8ed46a06be3acd0bcad.tar.bz2 manaplus-dac85c38849fca61253fe8ed46a06be3acd0bcad.tar.xz manaplus-dac85c38849fca61253fe8ed46a06be3acd0bcad.zip |
Move renderer method createGLContext from protected into public.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index e6fc44865..ac917a61b 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -415,6 +415,10 @@ class Graphics notfinal */ virtual const ClipRect *getCurrentClipArea() const; +#ifdef USE_OPENGL + virtual void createGLContext(); +#endif + /** * Draws a single point/pixel. * @@ -504,8 +508,6 @@ class Graphics notfinal bool videoInfo(); #ifdef USE_OPENGL - virtual void createGLContext(); - void setOpenGLFlags(); #endif /** |