summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-08-26 08:54:33 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-08-26 11:44:42 (GMT)
commitde3939532af08c37e709d1bae8cf50a57d6f63be (patch)
tree9cb6e27b36249f870838620d234e82aadc77192d /src/opengl/gl2paintengineex/qglengineshadermanager_p.h
parent5a22a926f8f10597a431036533550f05fdf52d85 (diff)
downloadQt-de3939532af08c37e709d1bae8cf50a57d6f63be.zip
Qt-de3939532af08c37e709d1bae8cf50a57d6f63be.tar.gz
Qt-de3939532af08c37e709d1bae8cf50a57d6f63be.tar.bz2
Added missing precision specifiers to custom shader effect.
The precision specifiers need to be there on OpenGL ES 2.0. Reviewed-by: Tom
Diffstat (limited to 'src/opengl/gl2paintengineex/qglengineshadermanager_p.h')
-rw-r--r--src/opengl/gl2paintengineex/qglengineshadermanager_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
index d5241a8..ace6b63 100644
--- a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
+++ b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
@@ -209,7 +209,7 @@
(QGLCustomShaderStage). The shader will implement a pre-defined method name
which Qt's fragment pipeline will call:
- lowp vec4 customShader(sampler2d src, vec2 srcCoords)
+ lowp vec4 customShader(lowp sampler2d imageTexture, highp vec2 textureCoords)
The provided src and srcCoords parameters can be used to sample from the
source image.