diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/shaders/shadereffectsource.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/imports/shaders/shadereffectsource.cpp b/src/imports/shaders/shadereffectsource.cpp index b5462c71..f58b5464 100644 --- a/src/imports/shaders/shadereffectsource.cpp +++ b/src/imports/shaders/shadereffectsource.cpp @@ -285,8 +285,7 @@ void ShaderEffectSource::bind() GLuint vwrap = (m_wrapMode == Repeat || m_wrapMode == RepeatVertically) ? GL_REPEAT : GL_CLAMP_TO_EDGE; #if !defined(QT_OPENGL_ES_2) - if (!QOpenGLFunctions::isES()) - glEnable(GL_TEXTURE_2D); + glEnable(GL_TEXTURE_2D); #endif if (m_fbo && m_fbo->isValid()) { |