deny glsl by limited NPOT, not GLSL
BUG: 278828 REVIEW: 103283
This commit is contained in:
parent
8503b6c2a1
commit
82bf9d2d44
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue