diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-24 00:21:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-24 00:21:41 +0300 |
commit | 1e37ebb4eb808f56bbbd522dbab524c24439d92b (patch) | |
tree | 4a588f611f2417afd35c55c00f510333669ab9b0 /src/safeopenglgraphics.h | |
parent | 2aa5e6701cc6bcc18b1f797dba25e4023f604845 (diff) | |
download | mv-1e37ebb4eb808f56bbbd522dbab524c24439d92b.tar.gz mv-1e37ebb4eb808f56bbbd522dbab524c24439d92b.tar.bz2 mv-1e37ebb4eb808f56bbbd522dbab524c24439d92b.tar.xz mv-1e37ebb4eb808f56bbbd522dbab524c24439d92b.zip |
improve safeopenglgraphics class.
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r-- | src/safeopenglgraphics.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |