From fc37b383ed63907f01f2997b974ab187824b8129 Mon Sep 17 00:00:00 2001 From: cutealien Date: Tue, 31 Dec 2019 18:21:45 +0000 Subject: [PATCH] Fixing comments for E_ZWRITE_FINE_CONTROL. (and considering replacing it and breaking binary serialization of SMaterial - having 2 flags for zwrite is simply too confusing). git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6023 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/SMaterial.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SMaterial.h b/include/SMaterial.h index 777e5cc8..e2e34fe5 100644 --- a/include/SMaterial.h +++ b/include/SMaterial.h @@ -250,10 +250,10 @@ namespace video //! Fine-tuning for SMaterial.ZWriteFineControl enum E_ZWRITE_FINE_CONTROL { - //! Default. Only write zbuffer when SMaterial::ZBuffer is true and SMaterial::isTransparent() returns false. + //! Default. Only write zbuffer when SMaterial::ZWriteEnable is true and SMaterial::isTransparent() returns false. EZI_ONLY_NON_TRANSPARENT, - //! Writing will just be based on SMaterial::ZBuffer value, transparency is ignored. - //! Needed mostly for certain shader materials as SMaterial::isTransparent will always return false for those. + //! Writing will just be based on SMaterial::ZWriteEnable value, transparency is ignored. + //! Needed mostly for certain shader materials where SMaterial::isTransparent always returns false. EZI_ZBUFFER_FLAG };