diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-10 17:04:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-10 18:19:52 +0300 |
commit | 4b00aaef2f780339719de516fa392de2de9c9943 (patch) | |
tree | 8a622f53490b55be9e89879036b0587bcc10604e /src/mobileopenglgraphics.h | |
parent | 2ca9a8ee8e3e2532fec2b7c3540c2d3f9b6264db (diff) | |
download | plus-4b00aaef2f780339719de516fa392de2de9c9943.tar.gz plus-4b00aaef2f780339719de516fa392de2de9c9943.tar.bz2 plus-4b00aaef2f780339719de516fa392de2de9c9943.tar.xz plus-4b00aaef2f780339719de516fa392de2de9c9943.zip |
Improve mobileopenglgraphics class.
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(); |