summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r--src/render/modernopenglgraphics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h
index 4ee663544..b5f7fdd3a 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -96,7 +96,7 @@ class ModernOpenGLGraphics final : public Graphics
inline void drawTriangleArray(const int size);
- inline void drawTriangleArray(const GLfloat *const array,
+ inline void drawTriangleArray(const GLint *const array,
const int size);
inline void drawLineArrays(const int size);
@@ -107,8 +107,8 @@ class ModernOpenGLGraphics final : public Graphics
inline void bindAttributes();
- GLfloat *mFloatArray;
- GLfloat *mFloatArrayCached;
+ GLint *mIntArray;
+ GLint *mIntArrayCached;
ShaderProgram *mProgram;
float mAlphaCached;
int mVpCached;