- Fixed ref counting for the virtual layer (fixes #53)
This commit is contained in:
parent
8fcbe75e66
commit
797abbfa07
|
@ -2088,6 +2088,7 @@ begin
|
|||
if item is TVirtualTile then
|
||||
begin
|
||||
ABlockInfo^.LowRes := FVLayerMaterial;
|
||||
ABlockInfo^.LowRes.AddRef;
|
||||
ABlockInfo^.ScreenRect := Bounds(Trunc(drawX - 22), Trunc(drawY - z * 4),
|
||||
44, 44);
|
||||
ABlockInfo^.DrawQuad[0][0] := drawX - 22;
|
||||
|
|
Loading…
Reference in New Issue