diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-10 21:07:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-10 21:07:18 +0300 |
commit | 0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e (patch) | |
tree | 205e4fd2896c913762861416c49a52862be6f456 /src/render/modernopenglgraphics.h | |
parent | d7b65dd309ce9b91be9ef4f22d55f7f4009007a2 (diff) | |
download | mv-0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e.tar.gz mv-0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e.tar.bz2 mv-0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e.tar.xz mv-0ae3fbab8d27f46d618a4cfe738c73c70bc3a57e.zip |
In modernopengl Use one global VBO
Diffstat (limited to 'src/render/modernopenglgraphics.h')
-rw-r--r-- | src/render/modernopenglgraphics.h | 1 |
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 |