Skip to content

Commit

Permalink
Remove vestigial D_FlushCaches/reinit_surfcache
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Jul 29, 2024
1 parent 31258e9 commit 6fed764
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
4 changes: 0 additions & 4 deletions Quake/gl_rmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,6 @@ void R_TimeRefresh_f (void)
Con_Printf ("%lf seconds (%.1lf fps)\n", time, 128/time);
}

void D_FlushCaches (void)
{
}

static GLuint current_array_buffer;
static GLuint current_element_array_buffer;
static GLuint current_shader_storage_buffer;
Expand Down
1 change: 0 additions & 1 deletion Quake/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,6 @@ void Host_ClearMemory (void)
}

Con_DPrintf ("Clearing memory\n");
D_FlushCaches ();
Mod_ClearAll ();
Sky_ClearAll();
PR_ClearProgs(&sv.qcvm);
Expand Down
10 changes: 0 additions & 10 deletions Quake/render.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ typedef struct
//
// refresh
//
extern int reinit_surfcache;


extern refdef_t r_refdef;
extern vec3_t r_origin, vpn, vright, vup;
Expand Down Expand Up @@ -138,12 +136,4 @@ void R_TeleportSplash (vec3_t org);

void R_PushDlights (void);


//
// surface cache related
//
extern int reinit_surfcache; // if 1, surface cache is currently empty and

void D_FlushCaches (void);

#endif /* _QUAKE_RENDER_H */

0 comments on commit 6fed764

Please sign in to comment.