draw.h, gl_draw.c, gl_vidsdl.c: removed my recently added Draw_ClearMenuPicCache()

helper. not necessary at all.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@51 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-02-18 16:00:34 +00:00
parent 301079acc9
commit 7f7c8719b2
3 changed files with 0 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -430,8 +430,6 @@ void VID_Restart (void)
vid_canalttab = true;
// Clear menu pic cache
Draw_ClearMenuPicCache ();
//warpimages needs to be recalculated
TexMgr_RecalcWarpImageSize ();