From 896a6ef5959043db5463637d84ed524ae7bade1e Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 11 Apr 2026 16:35:25 -0700 Subject: Render only if there was an update --- simloop/include/simloop.h | 1 + 1 file changed, 1 insertion(+) (limited to 'simloop/include/simloop.h') 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 { uint64_t frame; ///< Frame counter. Timer* timer; bool first_iter; + bool updates_since_last_render; } Simloop; /// Create a simulation loop. -- cgit v1.2.3