Changed: #843 Client Core crashing on direct3d shader driver

hg/feature/sound
kervala 15 years ago
parent 1a649a8d23
commit ad6a1e6888

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

Loading…
Cancel
Save