Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new minimap drawing method that works wholly with textures
I've left the old getMinimap function alone and added a new function that will eventually replace it that utilizes texture rendering to a given texture instead of relying on surface blits and scaling. This has the benefit of, well, reducing surface ops, for one, as well as removing the need to create a new texture from the minimap surface every time it's updated.
- Loading branch information
Showing
2 changed files
with
273 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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