[Tizen] Disable pixel alignment in TextVisual
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 5 Nov 2018 08:28:32 +0000 (17:28 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 5 Nov 2018 08:28:35 +0000 (17:28 +0900)
This reverts commit a72053cf45659644158188575da67cc1dffc32b6.

Change-Id: Ic7db0afffc2adf7d1cb0fb85dcc213c29a35782f

dali-toolkit/internal/visuals/text/text-visual.cpp

index 4b3176c..b4c44bd 100755 (executable)
@@ -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