From dae82c0662c05deb104a4b0772f76a9da5451067 Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Tue, 23 Mar 2021 03:14:23 -0700 Subject: [PATCH] fix error --- quicktex/dds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]