Only use GLSL blur shader if ShaderManager is valid

This commit is contained in:
Martin Gräßlin 2011-04-29 16:33:23 +02:00
parent 24b9a8c9db
commit 818a936e99

View file

@ -129,6 +129,8 @@ bool GLSLBlurShader::supported()
{
if (!GLPlatform::instance()->supports(GLSL))
return false;
if (!ShaderManager::instance()->isValid())
return false;
(void) glGetError(); // Clear the error state