mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-06-02 18:11:12 +00:00
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:
parent
13ce6fc2b8
commit
d182c83842
3 changed files with 42 additions and 17 deletions
|
@ -542,6 +542,8 @@ void CL_StopUpload(void)
|
|||
=====================================================================
|
||||
*/
|
||||
|
||||
void Draw_ClearCache (void);
|
||||
|
||||
/*
|
||||
==================
|
||||
CL_ParseServerData
|
||||
|
@ -578,6 +580,7 @@ void CL_ParseServerData (void)
|
|||
// save current config
|
||||
Host_WriteConfiguration ();
|
||||
cflag = true;
|
||||
Draw_ClearCache ();
|
||||
}
|
||||
|
||||
COM_Gamedir(str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue