summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-10 21:07:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-10 21:07:18 +0300
commit0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e (patch)
tree205e4fd2896c913762861416c49a52862be6f456 /src/render/modernopenglgraphics.h
parentd7b65dd309ce9b91be9ef4f22d55f7f4009007a2 (diff)
downloadplus-0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e.tar.gz
plus-0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e.tar.bz2
plus-0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e.tar.xz
plus-0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e.zip
In modernopengl Use one global VBO
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r--src/render/modernopenglgraphics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/modernopenglgraphics.h b/src/render/modernopenglgraphics.h
index b3a217ca2..34124bacc 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -100,6 +100,7 @@ class ModernOpenGLGraphics final : public Graphics
GLuint mSimpleScreenUniform;
GLuint mTextureScreenUniform;
GLuint mVao;
+ GLuint mVbo;
bool mColorAlpha;
bool mTextureDraw;
#ifdef DEBUG_BIND_TEXTURE