diff --git a/quicktex/dds.py b/quicktex/dds.py index d8f15be..111fff0 100644 --- a/quicktex/dds.py +++ b/quicktex/dds.py @@ -173,7 +173,7 @@ class DDSHeader: assert unpacked[0] == DDSHeader.size, "Incorrect DDS header size." header = DDSHeader() - header.flags = DDSHeader.DDSFlags(unpacked[1]) + header.flags = DDSHeader.Flags(unpacked[1]) header.dimensions = unpacked[2:4:-1] header.pitch, header.depth, header.mipmapcount = unpacked[4:7]