Skip to content

Commit

Permalink
Update src/Graphics/Texture2D.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Ethan Lee <[email protected]>
  • Loading branch information
kg and flibitijibibo authored Dec 22, 2024
1 parent b738202 commit cb04913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Graphics/Texture2D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ int dataLengthBytes
int subX, subY, subW, subH;
if (rect == null)
{
subX = 0;
subY = 0;
subX = 0;
subY = 0;
subW = Width >> level;
subH = Height >> level;
}
Expand Down

0 comments on commit cb04913

Please sign in to comment.