Merge "(GCC 6.2) Remove unused functions from automated-tests" into devel/master
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Tue, 24 Jan 2017 10:24:57 +0000 (02:24 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 24 Jan 2017 10:24:57 +0000 (02:24 -0800)
dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager-impl.cpp

index 8532b93..12d39a5 100644 (file)
@@ -1,4 +1,4 @@
- /*
+/*
  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -61,12 +61,13 @@ void main()
 );
 
 const char* FRAGMENT_SHADER_RGBA = MAKE_SHADER(
+uniform lowp    vec4      uColor;
 uniform         sampler2D sTexture;
 varying mediump vec2      vTexCoord;
 
 void main()
 {
-  gl_FragColor = texture2D( sTexture, vTexCoord );
+  gl_FragColor = texture2D( sTexture, vTexCoord ) * uColor;
 }
 );