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 3528462a8..ada964ee9 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -89,15 +89,14 @@ class ModernOpenGLGraphics final : public Graphics
inline void drawLineArrays(const int size);
+ inline void bindArrayBuffer(const GLuint vbo);
+
GLfloat *mFloatArray;
GLfloat *mFloatArrayCached;
ShaderProgram *mProgram;
float mAlphaCached;
int mVpCached;
- bool mIsByteColor;
- Color mByteColor;
- GLuint mImageCached;
float mFloatColor;
int mMaxVertices;
GLuint mProgramId;
@@ -108,6 +107,7 @@ class ModernOpenGLGraphics final : public Graphics
GLuint mDrawTypeUniform;
GLuint mVao;
GLuint mVbo;
+ GLuint mVboCached;
bool mColorAlpha;
bool mTextureDraw;
#ifdef DEBUG_BIND_TEXTURE