Add option to limit render fps to game tick rate

This helps slow systems that struggle to render 2 frames per game tick.
This commit is contained in:
reaperrr
2021-12-05 14:47:42 +01:00
committed by Pavel Penev
parent 216029dc27
commit 145f6abc09
5 changed files with 34 additions and 3 deletions

View File

@@ -192,6 +192,9 @@ namespace OpenRA
[Desc("At which frames per second to cap the framerate.")]
public int MaxFramerate = 60;
[Desc("Set a frame rate limit of 1 render frame per game simulation frame (overrides CapFramerate/MaxFramerate).")]
public bool CapFramerateToGameFps = false;
[Desc("Disable the OpenGL debug message callback feature.")]
public bool DisableGLDebugMessageCallback = false;