mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 12:58:33 +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)
|
if (size.X <= 0 || size.Y <= 0)
|
||||||
return Rectangle.Empty;
|
return Rectangle.Empty;
|
||||||
|
|
||||||
var area = new Rectangle(Point.Zero, size);
|
var area = new Rectangle(0, 0, size.X, size.Y);
|
||||||
var lowestY = int.MaxValue;
|
var lowestY = int.MaxValue;
|
||||||
while (true) {
|
while (true) {
|
||||||
// check if the current area is already occupied
|
// check if the current area is already occupied
|
||||||
|
|
Loading…
Reference in a new issue