Do not crash if old shaders dont compile

This commit is contained in:
Vincent Lejeune
2014-03-07 00:03:26 +01:00
parent d19b5a2732
commit cbd7453f7b

View File

@@ -290,7 +290,7 @@ void Shaders::check(const int num) const
{
if (m_shaders[num] == -1)
{
Log::fatal("shaders", "Shader %s failed to load. Update your drivers, if the issue "
Log::error("shaders", "Shader %s failed to load. Update your drivers, if the issue "
"persists, report a bug to us.", shader_names[num] + 3);
}
}