diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-08-26 08:54:33 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-08-26 11:44:42 (GMT) |
commit | de3939532af08c37e709d1bae8cf50a57d6f63be (patch) | |
tree | 9cb6e27b36249f870838620d234e82aadc77192d /src/opengl/gl2paintengineex/qglengineshadermanager_p.h | |
parent | 5a22a926f8f10597a431036533550f05fdf52d85 (diff) | |
download | Qt-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.h | 2 |
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. |