[glplatform] Ensure glsl is supported with OpenGLES

No matter what our checks say on OpenGLES we have shaders.
remotes/origin/Plasma/5.5
Martin Gräßlin 11 years ago
parent 1170303fc6
commit 99ddcfbac0
  1. 6
      libkwineffects/kwinglplatform.cpp

@ -857,6 +857,12 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
m_virtualMachine = true;
m_recommendedCompositor = OpenGL2Compositing;
}
// and force back to shader supported on gles, we wouldn't have got a context if not supported
if (isGLES()) {
m_supportsGLSL = true;
m_limitedGLSL = false;
}
}
static void print(const QString &label, const QString &setting)

Loading…
Cancel
Save