Recache viddef in *D_InitCaches.

sw32 now at least doesn't seg, but doesn't draw any 3d. sw renderer seems
to work.
This commit is contained in:
Bill Currie 2012-02-26 15:58:09 +09:00
parent 42868d308e
commit 07ab5600c9
2 changed files with 2 additions and 0 deletions

View file

@ -101,6 +101,7 @@ D_ClearCacheGuard (void)
void
D_InitCaches (void *buffer, int size)
{
vid = *vr_data.vid; // recache
Sys_MaskPrintf (SYS_DEV, "D_InitCaches: %ik surface cache\n", size/1024);
sc_size = size - GUARDSIZE;

View file

@ -109,6 +109,7 @@ D_ClearCacheGuard (void)
void
sw32_D_InitCaches (void *buffer, int size)
{
vid = *vr_data.vid; // recache
Sys_MaskPrintf (SYS_DEV, "D_InitCaches: %ik surface cache\n", size/1024);
sc_size = size - GUARDSIZE;