Revert "[Tizen] fixed crash issue"
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 5 Nov 2018 08:19:29 +0000 (17:19 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 5 Nov 2018 08:19:29 +0000 (17:19 +0900)
This reverts commit eebd664fddb321efbdec62f28600af33633ae94e.

dali-toolkit/internal/text/rendering/text-typesetter.cpp

index 80180543c56ee7450a4a0aef8adf79ebd055bbb1..0e149d7af0bba8d1f739ffc2181fba3d0945e794 100755 (executable)
@@ -637,7 +637,7 @@ Devel::PixelBuffer Typesetter::CreateImageBuffer( const unsigned int bufferWidth
       }
 
       // Retrieves the glyph's color.
-      const ColorIndex colorIndex = useDefaultColor ? 0u : *( colorIndexBuffer + glyphIndex );
+      const ColorIndex colorIndex = *( colorIndexBuffer + glyphIndex );
 
       Vector4 color;
       if ( style == Typesetter::STYLE_SHADOW )