-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dds): Fix div by 0 during DXT4 DDS load (#3959)
Fixes #3950 Fix the div-by-0 when handling unassociated alpha during a DXT4 DDS load. The code mirrors what other formats do by first checking to see if the alpha value is not 0 before continuing. Added the 218-byte file from the bug to the local test suite. --------- Signed-off-by: Jesse Yurkovich <[email protected]>
- Loading branch information
1 parent
38aed29
commit a5c7a0c
Showing
4 changed files
with
20 additions
and
11 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
Binary file not shown.