summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_map_image_internal_high.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-08-26 19:30:06 +0900
committerHermet Park <hermetpark@gmail.com>2019-08-26 19:30:06 +0900
commitc6b52d4f09841e24f03150c457705ffe57b320db (patch)
treed09d92154c4cadb6ba91d1953ede3c162158c89a /src/lib/evas/common/evas_map_image_internal_high.c
parent42a7aae58c326dca37deac7d96fd4c3e69299e40 (diff)
canvas map: remove logically dead code.
the value was overflow, reduce its size.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_map_image_internal_high.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_map_image_internal_high.c b/src/lib/evas/common/evas_map_image_internal_high.c
index 1199e039ba..dfbbfbc1c5 100644
--- a/src/lib/evas/common/evas_map_image_internal_high.c
+++ b/src/lib/evas/common/evas_map_image_internal_high.c
@@ -825,7 +825,7 @@ _evas_common_map_rgba_internal_high(RGBA_Image *src, RGBA_Image *dst,
825 if (anti_alias) 825 if (anti_alias)
826 { 826 {
827 //Adjust AA Y range 827 //Adjust AA Y range
828 float ystart = 9999999999, yend = -1; 828 float ystart = 9999999.0f, yend = -1.0f;
829 for (int i = 0; i < 4; i++) 829 for (int i = 0; i < 4; i++)
830 { 830 {
831 if (y[i] < ystart) ystart = y[i]; 831 if (y[i] < ystart) ystart = y[i];