hopefully fix the surface cache alloc error

This commit is contained in:
Bill Currie 2000-11-03 18:29:42 +00:00
parent 46518d0229
commit c7790511ec

View file

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