Skip to content

Commit

Permalink
Revert "Add compatibility with FNA (AristurtleDev#106)"
Browse files Browse the repository at this point in the history
This reverts commit cd33df6.
  • Loading branch information
gameoflord012 committed Apr 20, 2024
1 parent acd0287 commit 08edfa4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions source/MonoGame.Aseprite/MonoGame.Aseprite.FNA.csproj

This file was deleted.

2 changes: 1 addition & 1 deletion source/MonoGame.Aseprite/TextureAtlas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public TextureRegion CreateRegion(string name, int x, int y, int width, int heig
/// </exception>
/// <returns>The <see cref="TextureRegion"/> created by this method.</returns>
public TextureRegion CreateRegion(string name, Point location, Point size) =>
CreateRegion(name, new Rectangle(location.X, location.Y, size.X, size.Y));
CreateRegion(name, new Rectangle(location, size));

/// <summary>
/// Creates a new <see cref="TextureRegion"/> and adds it to this <see cref="TextureAtlas"/>.
Expand Down

0 comments on commit 08edfa4

Please sign in to comment.