summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-09-12 15:40:41 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-09-12 15:40:41 +0100
commit1fd3950cda333fa8147ee92a659505978a471d70 (patch)
tree46ae77efd29bc9f1be812991da9701382172f603
parentd54bfd7e1db66a7cc8b57669257dcfaf98ab95af (diff)
ecore_evas: Remove unused code.
rot = rot % 360; while (rot < 0) rot += 360; it is guaranteed that rot is between 0 and 359. CID: 1039470, 1039471
-rw-r--r--src/lib/ecore_evas/ecore_evas.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index f31819e6fe..ac2becb36a 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -1203,7 +1203,6 @@ ecore_evas_rotation_set(Ecore_Evas *ee, int rot)
1203 } 1203 }
1204 rot = rot % 360; 1204 rot = rot % 360;
1205 while (rot < 0) rot += 360; 1205 while (rot < 0) rot += 360;
1206 while (rot >= 360) rot -= 360;
1207 IFC(ee, fn_rotation_set) (ee, rot, 0); 1206 IFC(ee, fn_rotation_set) (ee, rot, 0);
1208 /* make sure everything gets redrawn */ 1207 /* make sure everything gets redrawn */
1209 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h); 1208 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
@@ -1222,7 +1221,6 @@ ecore_evas_rotation_with_resize_set(Ecore_Evas *ee, int rot)
1222 } 1221 }
1223 rot = rot % 360; 1222 rot = rot % 360;
1224 while (rot < 0) rot += 360; 1223 while (rot < 0) rot += 360;
1225 while (rot >= 360) rot -= 360;
1226 IFC(ee, fn_rotation_set) (ee, rot, 1); 1224 IFC(ee, fn_rotation_set) (ee, rot, 1);
1227 /* make sure everything gets redrawn */ 1225 /* make sure everything gets redrawn */
1228 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h); 1226 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);