Overlooked a stupid in refresh_rate calculation.
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m27s

This commit is contained in:
2024-09-30 23:41:39 -04:00
parent c202ca5c84
commit 48091496d5

View File

@@ -85,7 +85,7 @@ void RWindow::refresh() {
float frame_time_s = frame_time_ms / 1000.f;
delta_time = frame_time_ms;
refresh_rate = 1.f / refresh_rate;
refresh_rate = 1.f / delta_time;
refresh_count++;