mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-26 02:09:24 +01:00
fixed FNA compatibility
This commit is contained in:
parent
e71450366b
commit
bccef1f7f4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue