Skip to content
Permalink
Browse files

client: increased r_displayRefresh range check, fixes #1322

  • Loading branch information...
rmarquis committed Jul 11, 2019
1 parent 59987fe commit 60beb18bc2a4a1cd61e8739254cf196d98e02c18
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sdl/sdl_glimp.c
@@ -223,7 +223,7 @@ static void GLimp_InitCvars(void)
r_mode = Cvar_Get("r_mode", "-2", CVAR_ARCHIVE | CVAR_LATCH | CVAR_UNSAFE);
r_customaspect = Cvar_Get("r_customaspect", "1", CVAR_ARCHIVE | CVAR_LATCH);
r_displayRefresh = Cvar_Get("r_displayRefresh", "0", CVAR_LATCH);
Cvar_CheckRange(r_displayRefresh, 0, 200, qtrue);
Cvar_CheckRange(r_displayRefresh, 0, 240, qtrue);

// Window render surface cvars
r_stencilbits = Cvar_Get("r_stencilbits", "0", CVAR_ARCHIVE | CVAR_LATCH | CVAR_UNSAFE);

0 comments on commit 60beb18

Please sign in to comment.
You can’t perform that action at this time.