1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Mapblock mesh: Allow to use VBO

This commit is contained in:
RealBadAngel 2016-02-22 04:26:32 +01:00 committed by paramat
parent 8eb7ddb0a2
commit f9d727764f
4 changed files with 26 additions and 10 deletions

View file

@ -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;