mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
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:
parent
42868d308e
commit
07ab5600c9
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue