mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
fix error
This commit is contained in:
parent
8676a6c10f
commit
dae82c0662
@ -173,7 +173,7 @@ class DDSHeader:
|
|||||||
assert unpacked[0] == DDSHeader.size, "Incorrect DDS header size."
|
assert unpacked[0] == DDSHeader.size, "Incorrect DDS header size."
|
||||||
|
|
||||||
header = DDSHeader()
|
header = DDSHeader()
|
||||||
header.flags = DDSHeader.DDSFlags(unpacked[1])
|
header.flags = DDSHeader.Flags(unpacked[1])
|
||||||
header.dimensions = unpacked[2:4:-1]
|
header.dimensions = unpacked[2:4:-1]
|
||||||
header.pitch, header.depth, header.mipmapcount = unpacked[4:7]
|
header.pitch, header.depth, header.mipmapcount = unpacked[4:7]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user