summaryrefslogtreecommitdiff
path: root/src/mapblock_mesh.h
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2016-02-22 04:26:32 +0100
committerparamat <mat.gregory@virginmedia.com>2016-02-26 00:51:01 +0000
commitf9d727764fc9c74990fc979d4966a33882d0c19b (patch)
tree3b64e5b69de34576c0cb2489ddd79ddad87474a9 /src/mapblock_mesh.h
parent8eb7ddb0a2f03ae514a96191f6edba9333ba2423 (diff)
downloadminetest-f9d727764fc9c74990fc979d4966a33882d0c19b.tar.gz
minetest-f9d727764fc9c74990fc979d4966a33882d0c19b.tar.bz2
minetest-f9d727764fc9c74990fc979d4966a33882d0c19b.zip
Mapblock mesh: Allow to use VBO
Diffstat (limited to 'src/mapblock_mesh.h')
-rw-r--r--src/mapblock_mesh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapblock_mesh.h b/src/mapblock_mesh.h
index 987490408..f89fbe669 100644
--- a/src/mapblock_mesh.h
+++ b/src/mapblock_mesh.h
@@ -128,11 +128,13 @@ private:
scene::IMesh *m_mesh;
MinimapMapblock *m_minimap_mapblock;
IGameDef *m_gamedef;
+ video::IVideoDriver *m_driver;
ITextureSource *m_tsrc;
IShaderSource *m_shdrsrc;
bool m_enable_shaders;
bool m_use_tangent_vertices;
+ bool m_enable_vbo;
// Must animate() be called before rendering?
bool m_has_animation;