mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 19:20:43 +00:00
- first batch of adjustments to the new tile management.
- consolidated Polymost precaching and removed precaching for static tiles because they now are always loaded. - removed cache configurability. On modern systems this is relatively pointless - allocating 50 or 100 MB is a non-issue - and the cache is due for replacement anyway.
This commit is contained in:
parent
4b6f28e7c8
commit
0e165e40a3
37 changed files with 84 additions and 290 deletions
|
@ -633,8 +633,14 @@ void DoTheCache(void)
|
|||
{
|
||||
if ((TEST(gotpic[i>>3], 1<<(i&7))) && (!tilePtr(i)))
|
||||
{
|
||||
tileLoad(i);
|
||||
cnt++;
|
||||
// For the hardware renderer precaching the raw pixel data is pointless.
|
||||
if (videoGetRenderMode() < REND_POLYMOST)
|
||||
tileLoad(i);
|
||||
#ifdef USE_OPENGL
|
||||
/*if (useprecache)*/ PrecacheHardwareTextures(i);
|
||||
#endif
|
||||
|
||||
cnt++;
|
||||
if (!(cnt&7))
|
||||
{
|
||||
AnimateCacheCursor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue