Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored out create_optimized_surface
Instead, we simply call adjust_surface_alpha directly. This removes the creation of another temporary surface. This also removes cases when it's called after creating a surface with create_neutral_surface, since that function should produce the same result.
- Loading branch information
Showing
5 changed files
with
172 additions
and
61 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
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
Oops, something went wrong.