From d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Dec 2013 16:59:21 +0300 Subject: Improve a bit separate images drawing. --- src/render/safeopenglgraphics.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/render/safeopenglgraphics.h') diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h index 773657261..6ece1bc88 100644 --- a/src/render/safeopenglgraphics.h +++ b/src/render/safeopenglgraphics.h @@ -154,17 +154,17 @@ class SafeOpenGLGraphics final : public Graphics void prepareScreenshot() override final; - static void bindTexture(const GLenum target, const GLuint texture); - - static GLuint mLastImage; - - protected: bool drawImage2(const Image *const image, int srcX, int srcY, int dstX, int dstY, const int width, const int height, const bool useColor) override final; + static void bindTexture(const GLenum target, const GLuint texture); + + static GLuint mLastImage; + + protected: void setTexturingAndBlending(const bool enable); private: -- cgit v1.2.3-60-g2f50