From 82bf9d2d445e7e75dc1fc949b51efb9f4688eb23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 28 Nov 2011 19:58:44 +0100 Subject: [PATCH] deny glsl by limited NPOT, not GLSL BUG: 278828 REVIEW: 103283 --- libkwineffects/kwinglutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkwineffects/kwinglutils.cpp b/libkwineffects/kwinglutils.cpp index 7e51bc99a6..62d1127db7 100644 --- a/libkwineffects/kwinglutils.cpp +++ b/libkwineffects/kwinglutils.cpp @@ -336,7 +336,7 @@ bool GLShader::load(const QByteArray &vertexSource, const QByteArray &fragmentSo { #ifndef KWIN_HAVE_OPENGLES // Make sure shaders are actually supported - if (!GLPlatform::instance()->supports(GLSL) || GLPlatform::instance()->supports(LimitedGLSL)) { + if (!GLPlatform::instance()->supports(GLSL) || GLPlatform::instance()->supports(LimitedNPOT)) { kError(1212) << "Shaders are not supported"; return false; }