summaryrefslogtreecommitdiff
path: root/src/render/mobileopengl2graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-10 16:45:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-10 16:45:36 +0300
commit18808109d12835d18d9d1ada96ed394a082a7740 (patch)
tree605807d7d6b2c240a41307f457693346ae39c9ed /src/render/mobileopengl2graphics.h
parent57c4153a8ba211741b5f8fa87f262eefd3a837e9 (diff)
downloadmv-18808109d12835d18d9d1ada96ed394a082a7740.tar.gz
mv-18808109d12835d18d9d1ada96ed394a082a7740.tar.bz2
mv-18808109d12835d18d9d1ada96ed394a082a7740.tar.xz
mv-18808109d12835d18d9d1ada96ed394a082a7740.zip
Dont use VAO in mobileopengl2graphics in nacl.
Diffstat (limited to 'src/render/mobileopengl2graphics.h')
-rw-r--r--src/render/mobileopengl2graphics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/mobileopengl2graphics.h b/src/render/mobileopengl2graphics.h
index ece11a736..730dcd304 100644
--- a/src/render/mobileopengl2graphics.h
+++ b/src/render/mobileopengl2graphics.h
@@ -119,7 +119,9 @@ class MobileOpenGL2Graphics final : public Graphics
GLint mTextureColorUniform;
GLuint mScreenUniform;
GLuint mDrawTypeUniform;
+#ifndef __native_client__
GLuint mVao;
+#endif
GLuint mVbo;
GLuint mVboBinded;
GLuint mAttributesBinded;