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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h
index b5f7fdd3a..28a7f8bbb 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -107,6 +107,8 @@ class ModernOpenGLGraphics final : public Graphics
inline void bindAttributes();
+ inline void bindElementBuffer(const GLuint ebo);
+
GLint *mIntArray;
GLint *mIntArrayCached;
ShaderProgram *mProgram;
@@ -123,7 +125,9 @@ class ModernOpenGLGraphics final : public Graphics
GLuint mDrawTypeUniform;
GLuint mVao;
GLuint mVbo;
+ GLuint mEbo;
GLuint mVboCached;
+ GLuint mEboCached;
GLuint mAttributesCached;
bool mColorAlpha;
bool mTextureDraw;