Don't sleep when sleep time is too small
@@ -865,10 +865,13 @@ void stop_measure_frame(
sleep = 0;
}
world->fps_sleep = sleep;
+
+ if (sleep > 0.008) {
ecs_sleepf(sleep);
}
}
}
+}
bool ecs_progress(
ecs_world_t *world,
