[sw] Remove some dead code

This commit is contained in:
Bill Currie 2022-03-10 11:37:19 +09:00
parent 0cfff27cd0
commit 2606564955

View file

@ -42,12 +42,6 @@
#include "vid_internal.h"
#include "vid_sw.h"
static void
R_CheckVariables (void)
{
}
/*
R_TimeRefresh_f
@ -193,24 +187,12 @@ R_SetupFrame (void)
vrect_t vrect;
float w, h;
R_CheckVariables ();
R_AnimateLight ();
EntQueue_Clear (r_ent_queue);
r_framecount++;
numbtofpolys = 0;
// debugging
#if 0
r_refdef.vieworg[0] = 80;
r_refdef.vieworg[1] = 64;
r_refdef.vieworg[2] = 40;
r_refdef.viewangles[0] = 0;
r_refdef.viewangles[1] = 46.763641357;
r_refdef.viewangles[2] = 0;
#endif
// build the transformation matrix for the given view angles
VectorCopy (r_refdef.viewposition, modelorg);
VectorCopy (r_refdef.viewposition, r_origin);