]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
common: Move com_game headers to new com_game.h
[xonotic/darkplaces.git] / cl_screen.c
index 75324c176df64a4c869c1edec94d23c031d069ba..44b493e4771d4105abb1e3750fe54951a9f174f3 100644 (file)
@@ -835,7 +835,7 @@ void CL_Screen_Init(void)
        Cvar_RegisterVariable(&scr_stipple);
        Cvar_RegisterVariable(&scr_refresh);
        Cvar_RegisterVariable(&net_graph);
-       Cvar_RegisterAlias(&net_graph, "shownetgraph");
+       Cvar_RegisterVirtual(&net_graph, "shownetgraph");
        Cvar_RegisterVariable(&cl_demo_mousegrab);
        Cvar_RegisterVariable(&timedemo_screenshotframelist);
        Cvar_RegisterVariable(&vid_touchscreen_outlinealpha);
@@ -1206,7 +1206,7 @@ static void SCR_CaptureVideo_VideoFrame(int newframestepframenum)
                        double fps1 = (cls.capturevideo.frame - cls.capturevideo.lastfpsframe) / (t - cls.capturevideo.lastfpstime + 0.0000001);
                        double fps  = (cls.capturevideo.frame                                ) / (t - cls.capturevideo.starttime   + 0.0000001);
                        dpsnprintf(buf, sizeof(buf), "capturevideo: (%.1fs) last second %.3ffps, total %.3ffps\n", cls.capturevideo.frame / cls.capturevideo.framerate, fps1, fps);
-                       Sys_PrintToTerminal(buf);
+                       Sys_Print(buf);
                        cls.capturevideo.lastfpstime = t;
                        cls.capturevideo.lastfpsframe = cls.capturevideo.frame;
                }