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-e03cc46cb475
master
hybrid 2008-09-12 16:39:03 +00:00
parent 529b6f0f3c
commit 1edc55c924
1 changed files with 1 additions and 1 deletions

View File

@ -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);