mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Reduce size of SMaterial struct
This commit is contained in:
parent
be75e42d77
commit
2cdf3af1b8
8 changed files with 39 additions and 42 deletions
|
@ -109,7 +109,7 @@ void CMeshSceneNode::render()
|
|||
// for debug purposes only:
|
||||
if (DebugDataVisible && PassCount == 1) {
|
||||
video::SMaterial m;
|
||||
m.AntiAliasing = 0;
|
||||
m.AntiAliasing = video::EAAM_OFF;
|
||||
m.ZBuffer = video::ECFN_DISABLED;
|
||||
driver->setMaterial(m);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue