mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-26 02:09:24 +01:00
restored FNA compatibility
This commit is contained in:
parent
99b45b09d9
commit
4863b5504b
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ namespace MLEM.Data {
|
|||
if (size.X <= 0 || size.Y <= 0)
|
||||
return Rectangle.Empty;
|
||||
|
||||
var area = new Rectangle(Point.Zero, size);
|
||||
var area = new Rectangle(0, 0, size.X, size.Y);
|
||||
var lowestY = int.MaxValue;
|
||||
while (true) {
|
||||
// check if the current area is already occupied
|
||||
|
|
Loading…
Reference in a new issue