🔧 Increase caches to accommodate larger resolutions

This commit is contained in:
Andreas Schneider 2022-05-08 18:42:01 +02:00
parent d30f01ac64
commit dfef4d3556
1 changed files with 4 additions and 4 deletions

View File

@ -330,9 +330,9 @@ end;
constructor TLandTextureManager.Create;
begin
inherited Create;
FArtCache := TMaterialCache.Create(1024);
FTexCache := TMaterialCache.Create(128);
FAnimCache := TMaterialCache.Create(128);
FArtCache := TMaterialCache.Create(4096);
FTexCache := TMaterialCache.Create(512);
FAnimCache := TMaterialCache.Create(512);
FUseAnims := True;
end;
@ -594,7 +594,7 @@ begin
FHeight := AHeight;
FCellWidth := FWidth * 8;
FCellHeight := FHeight * 8;
FBlockCache := TBlockCache.Create(256);
FBlockCache := TBlockCache.Create(1024);
FBlockCache.OnRemoveObject := @OnRemoveCachedObject;
FOnChange := nil;