From: Gunnar Sletta Date: Tue, 8 Oct 2013 06:54:38 +0000 (+0200) Subject: Be explicit about precision specifiers. X-Git-Tag: upstream/5.2.1~270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=103d943afc2197bbf27df64d65360b5b2dad0d5b;p=platform%2Fupstream%2Fqtdeclarative.git Be explicit about precision specifiers. Task-number: QTBUG-33912 Change-Id: I4b6988e7385bcf9167e5f44d0bde7c80fbc1e117 Reviewed-by: Laszlo Agocs --- diff --git a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp index 49ce120..50009d7 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" "}"; }