mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 06:42:26 +00:00
hopefully fix the surface cache alloc error
This commit is contained in:
parent
46518d0229
commit
c7790511ec
1 changed files with 2 additions and 0 deletions
|
@ -298,6 +298,8 @@ VID_AllocBuffers (int width, int height)
|
|||
temp_z = NULL;
|
||||
}
|
||||
|
||||
vid_surfcachesize = tcachesize;
|
||||
|
||||
// Free surface cache, switch to the new one
|
||||
vid_surfcache = D_SurfaceCacheAddress ();
|
||||
if (vid_surfcache) {
|
||||
|
|
Loading…
Reference in a new issue