From d7b65dd309ce9b91be9ef4f22d55f7f4009007a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Jun 2014 20:51:32 +0300 Subject: In modernopengl add basic VAO usage. --- src/render/modernopenglgraphics.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/render/modernopenglgraphics.h') 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 -- cgit v1.2.3-60-g2f50