1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-22 04:53:29 +01:00

fixed FNA compatibility

This commit is contained in:
Ell 2023-05-15 18:41:45 +02:00
parent e71450366b
commit bccef1f7f4

View file

@ -256,7 +256,7 @@ namespace MLEM.Data {
// if no texture is occupying this space, we have found a free area
if (existing == null) {
// if this is the first position that this request fit in, no other requests of the same size will find a position before it
this.initialPositions[area.Size] = area.Location;
this.initialPositions[new Point(area.Width, area.Height)] = area.Location;
this.occupiedPositions.Add(area.Location, request);
return area;
}