[client] autodetect monitor refresh rate for fps limit

This commit is contained in:
orcephrye
2019-07-08 20:13:24 -05:00
committed by Geoffrey McRae
parent 745ba66119
commit 8ad2d5f949
2 changed files with 22 additions and 3 deletions

View File

@@ -185,10 +185,10 @@ static struct Option options[] =
{
.module = "win",
.name = "fpsLimit",
.description = "Frame rate limit (0 = disable - not recommended)",
.description = "Frame rate limit (0 = disable - not recommended, -1 = auto detect)",
.shortopt = 'K',
.type = OPTION_TYPE_INT,
.value.x_int = 200,
.value.x_int = -1,
},
{
.module = "win",