summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-20 15:46:22 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-20 15:46:22 +0200
commit404fa0c85e652fabfb58712bbaa8ee3694f8f81b (patch)
treec1bcbfce19951b5fe8ecdc793756d8b041978005 /src/app.c
parent7cfda7d74e160236715c6dab09e6ceae1a1a4eaf (diff)
App: Looking at uneven frame redraw times
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/app.c b/src/app.c
index 0117cc3c..31bd33ed 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1071,9 +1071,12 @@ void refresh_App(void) {
1071#endif 1071#endif
1072 set_Atomic(&d->pendingRefresh, iFalse); 1072 set_Atomic(&d->pendingRefresh, iFalse);
1073 destroyPending_Widget(); 1073 destroyPending_Widget();
1074// iTime draw;
1075// initCurrent_Time(&draw);
1074 draw_Window(d->window); 1076 draw_Window(d->window);
1077// printf("draw: %lld \u03bcs\n", (long long) (elapsedSeconds_Time(&draw) * 1000000));
1078// fflush(stdout);
1075 if (d->warmupFrames > 0) { 1079 if (d->warmupFrames > 0) {
1076// printf("warmup frame: %d\n", d->warmupFrames);
1077 d->warmupFrames--; 1080 d->warmupFrames--;
1078 } 1081 }
1079} 1082}