Fixed a missing function call, found by night_hawk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1561 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
529b6f0f3c
commit
1edc55c924
|
@ -1678,7 +1678,7 @@ void CD3D9Driver::setBasicRenderStates(const SMaterial& material, const SMateria
|
|||
// zwrite
|
||||
// if (resetAllRenderstates || (lastmaterial.ZWriteEnable != material.ZWriteEnable))
|
||||
{
|
||||
if ( material.ZWriteEnable && !(DisableZWriteOnTransparent && material.isTransparent))
|
||||
if ( material.ZWriteEnable && !(DisableZWriteOnTransparent && material.isTransparent()))
|
||||
pID3DDevice->SetRenderState( D3DRS_ZWRITEENABLE, TRUE);
|
||||
else
|
||||
pID3DDevice->SetRenderState( D3DRS_ZWRITEENABLE, FALSE);
|
||||
|
|
Loading…
Reference in New Issue