Skip to content

Updated FromFile() to remove unused TextureRegion#193

Merged
SimonDarksideJ merged 3 commits into
MonoGame:mainfrom
jordanlhunt:patch-1
Nov 3, 2025
Merged

Updated FromFile() to remove unused TextureRegion#193
SimonDarksideJ merged 3 commits into
MonoGame:mainfrom
jordanlhunt:patch-1

Conversation

@jordanlhunt

Copy link
Copy Markdown
Contributor

Removed redundant "TextureRegion region" because it's not used in the Method.

Removed redundant TextureRegion region because it's not used in the Method.
@SimonDarksideJ

Copy link
Copy Markdown
Collaborator

Thoughts @AristurtleDev ? Also, if merged the MonoGame.Samples project will also need updating

@AristurtleDev

Copy link
Copy Markdown
Contributor

@SimonDarksideJ should be good to have this line of code removed. I believe it was left over from something that was being done in the initial stages of writing the chapter and forgot to remove it.

AristurtleDev added a commit to AristurtleDev/MonoGame.Samples that referenced this pull request Nov 3, 2025
This is related to the PR in the tutorial documentation at MonoGame/docs.monogame.github.io#193
@AristurtleDev

Copy link
Copy Markdown
Contributor

@jordanlhunt i created PR MonoGame/MonoGame.Samples#99 to remove it from the samples as well

@SimonDarksideJ SimonDarksideJ merged commit bccf470 into MonoGame:main Nov 3, 2025
2 checks passed
@jordanlhunt jordanlhunt deleted the patch-1 branch November 8, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants