diff options
author | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-10-08 08:54:38 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-08 12:50:13 +0200 |
commit | 103d943afc2197bbf27df64d65360b5b2dad0d5b (patch) | |
tree | 8d5418e07b75c017fde8d84c9576b232800a421d /src/quick/scenegraph | |
parent | 48e32cfabed8527ac788142393226ad931d29420 (diff) |
Be explicit about precision specifiers.
Task-number: QTBUG-33912
Change-Id: I4b6988e7385bcf9167e5f44d0bde7c80fbc1e117
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r-- | src/quick/scenegraph/qsgdefaultglyphnode_p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp index 49ce120032..50009d7709 100644 --- a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp +++ b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp @@ -237,7 +237,7 @@ const char *QSG24BitTextMaskShader::fragmentShader() const { "uniform lowp sampler2D texture; \n" "uniform lowp float color; // just the alpha, really... \n" "void main() { \n" - " vec4 glyph = texture2D(texture, sampleCoord); \n" + " lowp vec4 glyph = texture2D(texture, sampleCoord); \n" " gl_FragColor = vec4(glyph.rgb * color, glyph.a); \n" "}"; } |