From 2f3e46340e7f5e2c9c956747f3589867f495e7da Mon Sep 17 00:00:00 2001 From: Sunghyun kim Date: Tue, 13 Nov 2018 15:30:49 +0900 Subject: [PATCH] [Tizen] Disable pixel alignment in TextVisual This reverts commit 83a3c5a3096f47ecbdc45d0be735bf6e4eb449cd. Change-Id: I4ebf501a4b86eb9ae8805dd0498747e65929e6a4 --- dali-toolkit/internal/visuals/text/text-visual.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dali-toolkit/internal/visuals/text/text-visual.cpp b/dali-toolkit/internal/visuals/text/text-visual.cpp index 4b3176cc40..b4c44bd8de 100755 --- a/dali-toolkit/internal/visuals/text/text-visual.cpp +++ b/dali-toolkit/internal/visuals/text/text-visual.cpp @@ -94,9 +94,7 @@ const char* VERTEX_SHADER = DALI_COMPOSE_SHADER( void main()\n {\n - mediump vec4 nonAlignedVertex = uViewMatrix*uModelMatrix*ComputeVertexPosition();\n - mediump vec4 pixelAlignedVertex = vec4 ( floor(nonAlignedVertex.xyz), 1.0 );\n - mediump vec4 vertexPosition = uProjection*pixelAlignedVertex;\n + mediump vec4 vertexPosition = uProjection*uViewMatrix*uModelMatrix*ComputeVertexPosition();\n vTexCoord = pixelArea.xy+pixelArea.zw*(aPosition + vec2(0.5) );\n gl_Position = vertexPosition;\n -- 2.34.1