Remove unused sprites in Freeplay - #7729
Open
ACrazyTown wants to merge 1 commit into
Open
Conversation
ACrazyTown
force-pushed
the
freeplay-21fps
branch
from
June 23, 2026 21:39
ca0abde to
87c1a20
Compare
moxie-coder
approved these changes
Jun 24, 2026
|
I'm gonna use RenderDoc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked Issues
N/A
Description
These sprites were added in b9230b6, meant to be used for a swipe gesture to exit Freeplay, but were made useless in d79f994. Despite this, they are still part of the Freeplay state, and the game renders them... before drawing over them with the actual sprites.
By removing them we can get rid of 2 useless draw calls. Yay!
Screenshots/Videos
A showcase of the draw calls made by the game in RenderDoc. You can see the top border and the arrow get drawn before being drawn over by the background again and the "FREEPLAY" text.
2026-06-23.19-44-33.mp4