mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-29 23:00:34 +02:00
Mention in more places that ECFN_DISABLED disables zwrite as well
Easy to miss... git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6564 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@ -747,6 +747,8 @@ namespace video
|
||||
return (f32) getAverage ( p[(y * pitch) + x] );
|
||||
}
|
||||
|
||||
// Check if z-writing should be enabled
|
||||
// Note: If ZBuffer is disabled completely with ECFN_DISABLED it will still do nothing
|
||||
inline bool getWriteZBuffer(const SMaterial& material) const
|
||||
{
|
||||
switch ( material.ZWriteEnable )
|
||||
|
Reference in New Issue
Block a user