diff --git a/quakespasm/Quake/draw.h b/quakespasm/Quake/draw.h index 3300d13e..0d66d40f 100644 --- a/quakespasm/Quake/draw.h +++ b/quakespasm/Quake/draw.h @@ -39,7 +39,5 @@ qpic_t *Draw_PicFromWad (char *name); qpic_t *Draw_CachePic (char *path); void Draw_NewGame (void); -void Draw_ClearMenuPicCache (void); - void GL_SetCanvas (canvastype newcanvas); //johnfitz diff --git a/quakespasm/Quake/gl_draw.c b/quakespasm/Quake/gl_draw.c index 1ce34903..d52ffab7 100644 --- a/quakespasm/Quake/gl_draw.c +++ b/quakespasm/Quake/gl_draw.c @@ -139,12 +139,6 @@ qboolean scrap_dirty; gltexture_t *scrap_textures[MAX_SCRAPS]; //johnfitz -void Draw_ClearMenuPicCache (void) -{ - memset(menu_cachepics, 0, menu_numcachepics * sizeof(cachepic_t)); - menu_numcachepics = 0; -} - /* ================ Scrap_AllocBlock diff --git a/quakespasm/Quake/gl_vidsdl.c b/quakespasm/Quake/gl_vidsdl.c index c70d300c..5973e43b 100644 --- a/quakespasm/Quake/gl_vidsdl.c +++ b/quakespasm/Quake/gl_vidsdl.c @@ -430,8 +430,6 @@ void VID_Restart (void) vid_canalttab = true; - // Clear menu pic cache - Draw_ClearMenuPicCache (); //warpimages needs to be recalculated TexMgr_RecalcWarpImageSize ();