summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-10 20:51:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-10 20:51:32 +0300
commitd7b65dd309ce9b91be9ef4f22d55f7f4009007a2 (patch)
tree54b890ee5e06cb3f229650a66e04e05e6276b4fa /src/render/modernopenglgraphics.h
parent03b8fa8772ef8aadb73fb096c7ba4e257902a331 (diff)
downloadmanaverse-d7b65dd309ce9b91be9ef4f22d55f7f4009007a2.tar.gz
manaverse-d7b65dd309ce9b91be9ef4f22d55f7f4009007a2.tar.bz2
manaverse-d7b65dd309ce9b91be9ef4f22d55f7f4009007a2.tar.xz
manaverse-d7b65dd309ce9b91be9ef4f22d55f7f4009007a2.zip
In modernopengl add basic VAO usage.
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 3b3be8d85..b3a217ca2 100644
--- a/src/render/modernopenglgraphics.h
+++ b/src/render/modernopenglgraphics.h
@@ -99,6 +99,7 @@ class ModernOpenGLGraphics final : public Graphics
GLint mTexAttrib;
GLuint mSimpleScreenUniform;
GLuint mTextureScreenUniform;
+ GLuint mVao;
bool mColorAlpha;
bool mTextureDraw;
#ifdef DEBUG_BIND_TEXTURE