From 4b00aaef2f780339719de516fa392de2de9c9943 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Mar 2013 17:04:53 +0300 Subject: Improve mobileopenglgraphics class. --- src/mobileopenglgraphics.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mobileopenglgraphics.h') 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(); -- cgit v1.2.3-60-g2f50