summaryrefslogtreecommitdiff
path: root/src/mobileopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-10 17:04:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-10 18:19:52 +0300
commit4b00aaef2f780339719de516fa392de2de9c9943 (patch)
tree8a622f53490b55be9e89879036b0587bcc10604e /src/mobileopenglgraphics.h
parent2ca9a8ee8e3e2532fec2b7c3540c2d3f9b6264db (diff)
downloadmv-4b00aaef2f780339719de516fa392de2de9c9943.tar.gz
mv-4b00aaef2f780339719de516fa392de2de9c9943.tar.bz2
mv-4b00aaef2f780339719de516fa392de2de9c9943.tar.xz
mv-4b00aaef2f780339719de516fa392de2de9c9943.zip
Improve mobileopenglgraphics class.
Diffstat (limited to 'src/mobileopenglgraphics.h')
-rw-r--r--src/mobileopenglgraphics.h8
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();