summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-02-07 20:06:43 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-02-07 20:06:43 +0200
commite3c5cd103a8b78d41b4c7b8be8e913e7be2820c0 (patch)
tree72b1c9f683f9cf6a4eea7da5f9f74cb68e8d9398
parent63797b8909fe2e38e87cf80e2d9d7b62df070e79 (diff)
App: Draw frame during warmup
-rw-r--r--src/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.c b/src/app.c
index 74a60910..b7d43192 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1638,7 +1638,7 @@ void refresh_App(void) {
1638 } 1638 }
1639 } 1639 }
1640 /* TODO: `pendingRefresh` should be window-specific. */ 1640 /* TODO: `pendingRefresh` should be window-specific. */
1641 if (exchange_Atomic(&d->pendingRefresh, iFalse)) { 1641 if (d->warmupFrames || exchange_Atomic(&d->pendingRefresh, iFalse)) {
1642 /* Draw each window. */ 1642 /* Draw each window. */
1643 iConstForEach(PtrArray, j, &windows) { 1643 iConstForEach(PtrArray, j, &windows) {
1644 iWindow *win = j.ptr; 1644 iWindow *win = j.ptr;