mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting
* Increase performance (client) * Avoid changing a global value to solve a local problem
This commit is contained in:
@@ -45,8 +45,9 @@ struct MeshMakeData
|
||||
video::SColor m_highlight_mesh_color;
|
||||
|
||||
IGameDef *m_gamedef;
|
||||
bool m_use_shaders;
|
||||
|
||||
MeshMakeData(IGameDef *gamedef);
|
||||
MeshMakeData(IGameDef *gamedef, bool use_shaders);
|
||||
|
||||
/*
|
||||
Copy central data directly from block, and other data from
|
||||
|
Reference in New Issue
Block a user