]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
cvar: misc description fixes, allow vsync to a fraction of refresh rate
[xonotic/darkplaces.git] / vid_sdl.c
index 79addbdf750b7ac3b241e1b054d8d6523dd69b67..681ba54059793ab5a5dbb6a194e6225adb1c30c9 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -1526,7 +1526,7 @@ static void VID_ApplyDisplayMode_c(cvar_t *var)
 
 static void VID_SetVsync_c(cvar_t *var)
 {
-       signed char vsyncwanted = cls.timedemo ? 0 : bound(-1, vid_vsync.integer, 1);
+       int vsyncwanted = cls.timedemo ? 0 : vid_vsync.integer;
 
        if (!context)
                return;