]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_screen.c
optimized AngleVectors calls (pass NULL for vectors that should not be generated)
[xonotic/darkplaces.git] / gl_screen.c
index 23b7047c659673243c03a35be398730a19a09586..026861df783f77b0a203c3f973ec1252f84108fb 100644 (file)
@@ -58,7 +58,7 @@ Con_Printf ();
 net 
 turn off messages option
 
-the refresh is allways rendered, unless the console is full screen
+the refresh is always rendered, unless the console is full screen
 
 
 console is:
@@ -442,7 +442,7 @@ void SCR_DrawTurtle (void)
        if (!scr_showturtle.value)
                return;
 
-       if (host_frametime < 0.1)
+       if (cl.frametime < 0.1)
        {
                count = 0;
                return;
@@ -827,8 +827,6 @@ text to the screen.
 LordHavoc: due to my rewrite of R_WorldNode, it no longer takes 256k of stack space :)
 ==================
 */
-extern cvar_t gl_vertexarrays;
-extern qboolean gl_arrays;
 void GL_Finish();
 void SCR_UpdateScreen (void)
 {
@@ -837,9 +835,6 @@ void SCR_UpdateScreen (void)
        if (r_speeds.value)
                time1 = Sys_FloatTime ();
 
-       if (!gl_arrays)
-               gl_vertexarrays.value = 0;
-
        scr_copytop = 0;
        scr_copyeverything = 0;