summaryrefslogtreecommitdiff
path: root/src/bin/main.h
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2008-11-03 22:27:53 +0000
committerCarsten Haitzler <raster@rasterman.com>2008-11-03 22:27:53 +0000
commitf329fb2d609b9be7ec871a7fbb487b82c3e182b6 (patch)
treed436779d0373827141b2fc0728384f707b5bb200 /src/bin/main.h
parent9244f9c42c0202321f731229ef366b908e416c13 (diff)
add 4 tests to test drawing the same thing again and again at the same size
SVN revision: 37446
Diffstat (limited to 'src/bin/main.h')
-rw-r--r--src/bin/main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/main.h b/src/bin/main.h
index 2e2eb1b..b05869a 100644
--- a/src/bin/main.h
+++ b/src/bin/main.h
@@ -68,6 +68,7 @@
68#include "about.h" 68#include "about.h"
69 69
70#define OBNUM 128 70#define OBNUM 128
71#define LOOPS 512
71 72
72extern Evas *evas; 73extern Evas *evas;
73extern int win_w, win_h; 74extern int win_w, win_h;
@@ -87,7 +88,7 @@ int engine_abort(void);
87 } 88 }
88 89
89#define FPS_STD(x) \ 90#define FPS_STD(x) \
90 if ((f >= 32) && (!done)) \ 91 if ((f >= LOOPS) && (!done)) \
91 { \ 92 { \
92 double fps; \ 93 double fps; \
93 fps = (double)f / t; \ 94 fps = (double)f / t; \