[glplatform] Ensure glsl is supported with OpenGLES
No matter what our checks say on OpenGLES we have shaders.
This commit is contained in:
parent
1170303fc6
commit
99ddcfbac0
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue