aboutsummaryrefslogtreecommitdiff
path: root/simloop/include/simloop.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-04-11 16:35:25 -0700
committer3gg <3gg@shellblade.net>2026-04-11 16:35:25 -0700
commit896a6ef5959043db5463637d84ed524ae7bade1e (patch)
tree65b6cac3b4d2fe4e51eaf0d377f4578eabaf1488 /simloop/include/simloop.h
parent879e5af4eb1a8972fc944853a515e1003f94bd7c (diff)
Render only if there was an update
Diffstat (limited to 'simloop/include/simloop.h')
-rw-r--r--simloop/include/simloop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/simloop/include/simloop.h b/simloop/include/simloop.h
index 6ee3b98..1e5b4e0 100644
--- a/simloop/include/simloop.h
+++ b/simloop/include/simloop.h
@@ -67,6 +67,7 @@ typedef struct Simloop {
67 uint64_t frame; ///< Frame counter. 67 uint64_t frame; ///< Frame counter.
68 Timer* timer; 68 Timer* timer;
69 bool first_iter; 69 bool first_iter;
70 bool updates_since_last_render;
70} Simloop; 71} Simloop;
71 72
72/// Create a simulation loop. 73/// Create a simulation loop.