and prinfs out the fps :)

SVN revision: 3200
This commit is contained in:
Carsten Haitzler 2000-08-20 22:53:48 +00:00
parent a677bd8076
commit 38577b210e
1 changed files with 1 additions and 0 deletions

View File

@ -314,6 +314,7 @@ main(int argc, char **argv)
t2 = get_time() - t1;
t1 = get_time();
sprintf(buf, "FPS: %3.1f", 25 / t2);
printf("%s\n", buf);
evas_set_text(e, o_fps, buf);
evas_get_geometry(e, o_fps, NULL, NULL, &gw, &gh);
evas_move(e, o_fps, win_w - gw, win_h - gh);