From dac85c38849fca61253fe8ed46a06be3acd0bcad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Jul 2014 12:14:09 +0300 Subject: Move renderer method createGLContext from protected into public. --- src/render/graphics.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/render/graphics.h') 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 /** -- cgit v1.2.3-70-g09d2