forked from axmolengine/axmol
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for incorrect bits per pixel set on texture reload (axmolengine#2138
) * Set pixel format of cached FPS texture to correct value * Do not change _bitsPerPixel if it is a valid value * Only set _bitsPerPixel if it is the default value of 0 * Assert that size is not equal to 0 Move width, height and bitsperpixel clamping * Deprecate findVolotileTexture and replace with getOrAddVolatileTexture. * Add missing static specifier * Replace calls to findVolotileTexture with getOrAddVolatileTexture
- Loading branch information
Showing
5 changed files
with
17 additions
and
14 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
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