diff --git a/libkwineffects/kwinglutils.cpp b/libkwineffects/kwinglutils.cpp index caf91681ce..6eddb4ae8c 100644 --- a/libkwineffects/kwinglutils.cpp +++ b/libkwineffects/kwinglutils.cpp @@ -790,7 +790,7 @@ bool GLShader::compile(GLuint program, GLenum shaderType, const QByteArray &sour bool GLShader::load(const QByteArray &vertexSource, const QByteArray &fragmentSource) { // Make sure shaders are actually supported - if (!GLPlatform::instance()->supports(GLSL)) { + if (!GLPlatform::instance()->supports(GLSL) || GLPlatform::instance()->supports(LimitedGLSL)) { kError(1212) << "Shaders are not supported"; return false; }