summaryrefslogtreecommitdiff
path: root/src/safeopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/safeopenglgraphics.h')
-rw-r--r--src/safeopenglgraphics.h4
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);