forked from enlightenment/expedite
Stop computing useless number.
This commit is contained in:
parent
0f1d9a77e5
commit
6feba0405c
|
@ -57,17 +57,15 @@ static void _loop(double t, int f)
|
|||
{
|
||||
int i;
|
||||
static Evas_Map *m = NULL;
|
||||
Evas_Coord x, y, w, h;
|
||||
Evas_Coord w, h;
|
||||
if (!m) m = evas_map_new(4);
|
||||
for (i = 0; i < 1; i++)
|
||||
{
|
||||
w = win_w * 4;
|
||||
h = win_h * 4;
|
||||
x = (win_w / 2) - (w / 2);
|
||||
y = (win_h / 2) - (h / 2);
|
||||
evas_map_util_points_populate_from_geometry(m,
|
||||
evas_map_util_points_populate_from_geometry(m,
|
||||
-win_w, -win_h,
|
||||
win_w * 4, win_h * 4, 0);
|
||||
w, h, 0);
|
||||
evas_map_util_rotate(m, f, win_w / 2, win_h / 2);
|
||||
|
||||
evas_object_map_enable_set(o_images[i], 1);
|
||||
|
|
Loading…
Reference in New Issue