]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
honor alpha in showsurfaces 3
[xonotic/darkplaces.git] / cl_screen.c
index 81a018a9b07b0c25ee45d6f35d3a9458ee42d5d5..546e34de3cf41e78fdfaa920c0dd885a93f7a8d3 100644 (file)
@@ -1194,7 +1194,7 @@ void SCR_CaptureVideo(void)
                if (cls.capturevideo.framerate != cl_capturevideo_fps.value * cl_capturevideo_framestep.integer)
                {
                        Con_Printf("You can not change the video framerate while recording a video.\n");
-                       Cvar_SetValueQuick(&cl_capturevideo_fps, cls.capturevideo.framerate);
+                       Cvar_SetValueQuick(&cl_capturevideo_fps, cls.capturevideo.framerate / (double) cl_capturevideo_framestep.integer);
                }
                // for AVI saving we have to make sure that sound is saved before video
                if (cls.capturevideo.soundrate && !cls.capturevideo.soundsampleframe)
@@ -1969,8 +1969,8 @@ void CL_UpdateScreen(void)
 
        rendertime1 = Sys_DoubleTime();
 
-       conwidth = bound(320, vid_conwidth.value, 2048);
-       conheight = bound(200, vid_conheight.value, 1536);
+       conwidth = bound(160, vid_conwidth.value, 32768);
+       conheight = bound(90, vid_conheight.value, 24576);
        if (vid_conwidth.value != conwidth)
                Cvar_SetValue("vid_conwidth", conwidth);
        if (vid_conheight.value != conheight)