timerefresh works more sanely again
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 11 Apr 2002 09:30:51 +0000 (09:30 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 11 Apr 2002 09:30:51 +0000 (09:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1733 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index e362a41a68677b6fc77411b8112f9c1bc5cf7d1a..b06ebf80c2de41e408ea5cac10be956b58ed0f02 100644 (file)
@@ -98,15 +98,16 @@ static void R_TimeRefresh_f (void)
 
        intimerefresh = 1;
        start = Sys_DoubleTime ();
-       glDrawBuffer (GL_FRONT);
+       //glDrawBuffer (GL_FRONT);
        for (i = 0;i < 128;i++)
        {
                r_refdef.viewangles[0] = 0;
                r_refdef.viewangles[1] = i/128.0*360.0;
                r_refdef.viewangles[2] = 0;
-               R_RenderView();
+               CL_UpdateScreen();
+               //R_RenderView();
        }
-       glDrawBuffer  (GL_BACK);
+       //glDrawBuffer  (GL_BACK);
 
        stop = Sys_DoubleTime ();
        intimerefresh = 0;