diff options
Diffstat (limited to 'src/mobileopenglgraphics.h')
-rw-r--r-- | src/mobileopenglgraphics.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mobileopenglgraphics.h b/src/mobileopenglgraphics.h index b59b33583..0bb57f28e 100644 --- a/src/mobileopenglgraphics.h +++ b/src/mobileopenglgraphics.h @@ -144,8 +144,8 @@ class MobileOpenGLGraphics final : public Graphics void setTargetPlane(int width, int height); - inline void drawTriangleArrayfs(GLshort *shortVertArray, - GLfloat *floatTexArray, + inline void drawTriangleArrayfs(const GLshort *const shortVertArray, + const GLfloat *const floatTexArray, const int size); inline void drawTriangleArrayfs(const int size); @@ -181,7 +181,7 @@ class MobileOpenGLGraphics final : public Graphics static unsigned int mLastDrawCalls; #endif - static void bindTexture(GLenum target, GLuint texture); + static void bindTexture(const GLenum target, const GLuint texture); static GLuint mLastImage; @@ -192,7 +192,7 @@ class MobileOpenGLGraphics final : public Graphics const int width, const int height, const bool useColor) override; - void setTexturingAndBlending(bool enable); + void setTexturingAndBlending(const bool enable); void updateMemoryInfo(); |