When you change gamedirs, cachepics (such as your conback) will be reloaded

in GL..  Please test this extensively, I _think_ the tempfile loader is
smart enough to handle what I'm doing properly.  If it's not, we'll have
to fix a slight memory leak.
This commit is contained in:
Joseph Carter 2000-06-23 18:36:59 +00:00
parent 13ce6fc2b8
commit d182c83842
3 changed files with 42 additions and 17 deletions

View file

@ -75,6 +75,16 @@ qpic_t *Draw_PicFromWad (char *name)
return W_GetLumpName (name);
}
/*
Draw_ClearCache
This is a no-op in software targets
*/
void
Draw_ClearCache (void)
{
}
/*
================
Draw_CachePic