reduce the max time for render thread tasks

This commit is contained in:
James Seibel
2026-03-15 16:19:33 -05:00
parent bb838328a7
commit 2de50475f1
@@ -87,6 +87,7 @@ public class RenderThreadTaskHandler
// https://fpstoms.com/
int msPerFrame = 1000 / frameLimit;
msPerFrame /= 2; // divide the time in half so we can only impact half of the framerate at worst
this.runRenderThreadTasks(msPerFrame);
}
private void runRenderThreadTasks(long msMaxRunTime)