From 1e37ebb4eb808f56bbbd522dbab524c24439d92b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Mar 2013 00:21:41 +0300 Subject: improve safeopenglgraphics class. --- src/safeopenglgraphics.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/safeopenglgraphics.h') diff --git a/src/safeopenglgraphics.h b/src/safeopenglgraphics.h index e9650c6b9..d9b7af5bd 100644 --- a/src/safeopenglgraphics.h +++ b/src/safeopenglgraphics.h @@ -127,7 +127,7 @@ class SafeOpenGLGraphics final : public Graphics void prepareScreenshot() override; - static void bindTexture(GLenum target, GLuint texture); + static void bindTexture(const GLenum target, const GLuint texture); static GLuint mLastImage; @@ -138,7 +138,7 @@ class SafeOpenGLGraphics final : public Graphics const int width, const int height, const bool useColor); - void setTexturingAndBlending(bool enable); + void setTexturingAndBlending(const bool enable); private: void inline setColorAlpha(float alpha); -- cgit v1.2.3-70-g09d2