-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bindTexturePatch: Avoid crashes and retrieving the texture data altog…
…ether when the last mipmap is bigger than a small buffer that can hold 4x4 pixels. Usually this means that the texture only has one mip, and it isn't averaged out, so we're not interested in loading a big bitmap of pixels; skip it.
- Loading branch information
Showing
1 changed file
with
22 additions
and
13 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