summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-11-12 13:34:46 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-11-12 13:39:57 (GMT)
commite4d429f955a9db248b71c95f59902be01eaed062 (patch)
tree0e558346fa992ba543c665319146c613f566c28c /src/opengl
parent029b83bdc604ac9bbbd2974f22df61739dab9eeb (diff)
downloadQt-e4d429f955a9db248b71c95f59902be01eaed062.zip
Qt-e4d429f955a9db248b71c95f59902be01eaed062.tar.gz
Qt-e4d429f955a9db248b71c95f59902be01eaed062.tar.bz2
Remove driver bug work-around from GL 2 paint engine.
For platforms where the driver bug isn't fixed, the work-around should be done by packagers instead. Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/gl2paintengineex/qglengineshadersource_p.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/opengl/gl2paintengineex/qglengineshadersource_p.h b/src/opengl/gl2paintengineex/qglengineshadersource_p.h
index a7ece0f..0d30f9a 100644
--- a/src/opengl/gl2paintengineex/qglengineshadersource_p.h
+++ b/src/opengl/gl2paintengineex/qglengineshadersource_p.h
@@ -340,12 +340,7 @@ static const char* const qglslImageSrcFragmentShader = "\n\
uniform lowp sampler2D imageTexture; \n\
lowp vec4 srcPixel() \n\
{ \n"
-#ifdef QT_OPENGL_ES_2
- // work-around for driver bug
- "return 1.0 * texture2D(imageTexture, textureCoords); \n"
-#else
"return texture2D(imageTexture, textureCoords); \n"
-#endif
"}\n";
static const char* const qglslCustomSrcFragmentShader = "\n\