-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[librptexture] PowerVR3: Check header.pvr3.version for PVR3_VERSION_S…
…WAP, not d->pvr3Header.version. d->pvr3Header hasn't been initialized at this point. This broke when PowerVR3 was extended to handle PowerVR 2.0 textures. Most PowerVR3 files are little-endian, so the usual case of x86/amd64/arm wouldn't have caused a problem. On PowerPC, the files weren't detected. This fixes a regression from commit f5a099d. ([librptexture] PowerVR3: Preliminary support for PowerVR v2.0 files.) This fixes ImageDecoderTest's PowerVR3 tests. Affects: v2.4 - v2.4.1 Also, un-indent PowerVR3Private.
- Loading branch information
1 parent
4c6316f
commit c7d0a0a
Showing
2 changed files
with
101 additions
and
97 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