🔧 Increase caches to accommodate larger resolutions
This commit is contained in:
parent
d30f01ac64
commit
dfef4d3556
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue