Fix typo in TexAtlas.PackAtlas

This has been here since it was added in a2ba761ae. I think it's never caused
problems because the two lists are the same in all cases where the method's
result is used (the single caller, ArtManager.Close, immediately checks the
result of this method and throws if multiple atlases are used).
This commit is contained in:
YoshiRulz 2021-03-25 18:57:00 +10:00
parent 3da01dbfce
commit 98c7db0274
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ namespace BizHawk.Bizware.BizwareGL
var atlas = ret.Atlases[ret.Atlases.Count - 1];
atlas.Size.Width = tfpFinal.w;
atlas.Size.Height = tfpFinal.h;
atlas.Items = new List<RectItem>(items);
atlas.Items = new List<RectItem>(currentItems);
foreach (var item in currentItems)
{
object o = item.Item;