Changed: #843 Client Core crashing on direct3d shader driver

This commit is contained in:
kervala 2010-05-11 10:43:12 +02:00
parent 6245470c51
commit 3b6c68fa21

View file

@ -374,7 +374,7 @@ bool CDriverD3D::activeShader(CShader *shd)
} }
else else
{ {
nlwarning ("Can't create shader '%s':", shd->getText()); nlwarning ("Can't create shader '%s':", shd->getName());
if (pErrorMsgs) if (pErrorMsgs)
nlwarning ((const char*)pErrorMsgs->GetBufferPointer()); nlwarning ((const char*)pErrorMsgs->GetBufferPointer());
shd->_ShaderChanged = false; shd->_ShaderChanged = false;