diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,8 +45,8 @@ | |||
45 | #define PROF_N_FRAMES 15 | 45 | #define PROF_N_FRAMES 15 |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | #if PROF_ENABLE == 1 | ||
49 | // Profile method 1: Average per N frames. | 48 | // Profile method 1: Average per N frames. |
49 | #if PROF_ENABLE == 1 | ||
50 | #define TEXT_ENABLE 1 | 50 | #define TEXT_ENABLE 1 |
51 | #define PROF(F,VAR) \ | 51 | #define PROF(F,VAR) \ |
52 | do { \ | 52 | do { \ |
@@ -55,8 +55,8 @@ | |||
55 | (VAR) += profile_measure() - __tmp_prof;\ | 55 | (VAR) += profile_measure() - __tmp_prof;\ |
56 | } while (0) | 56 | } while (0) |
57 | 57 | ||
58 | #elif PROF_ENABLE == 2 | ||
59 | // Profile method 2: Maximum in N frames. | 58 | // Profile method 2: Maximum in N frames. |
59 | #elif PROF_ENABLE == 2 | ||
60 | #define TEXT_ENABLE 1 | 60 | #define TEXT_ENABLE 1 |
61 | #define PROF(F,VAR) \ | 61 | #define PROF(F,VAR) \ |
62 | do { \ | 62 | do { \ |