diff --git a/Quake/draw.h b/Quake/draw.h index 3300d13e..0d66d40f 100644 --- a/Quake/draw.h +++ b/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/Quake/gl_draw.c b/Quake/gl_draw.c index 1ce34903..d52ffab7 100644 --- a/Quake/gl_draw.c +++ b/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/Quake/gl_vidsdl.c b/Quake/gl_vidsdl.c index c70d300c..5973e43b 100644 --- a/Quake/gl_vidsdl.c +++ b/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 ();