Stop computing useless number.

This commit is contained in:
Cedric BAIL 2019-03-13 17:24:32 -07:00
parent 0f1d9a77e5
commit 6feba0405c
1 changed files with 3 additions and 5 deletions

View File

@ -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);