Shader constructor no longer throw an exception

Former-commit-id: f66607a019bd8498623e350b9a4399d7b2028d1f
This commit is contained in:
Lynix 2012-11-24 10:15:24 +01:00
parent 20be46e866
commit 42de28c037
1 changed files with 0 additions and 8 deletions

View File

@ -17,14 +17,6 @@
NzShader::NzShader(nzShaderLanguage language)
{
Create(language);
#ifdef NAZARA_DEBUG
if (!m_impl)
{
NazaraError("Failed to create shader");
throw std::runtime_error("Constructor failed");
}
#endif
}
NzShader::~NzShader()