]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
Merge branch 'dds' into 'master'
authorThomas Debesse <dev@illwieckz.net>
Mon, 15 Feb 2021 09:18:12 +0000 (09:18 +0000)
committerThomas Debesse <dev@illwieckz.net>
Mon, 15 Feb 2021 09:18:12 +0000 (09:18 +0000)
fix dds loading in 64 bit

See merge request xonotic/netradiant!169

libs/ddslib.h

index 4961f6ef6b17cca7817bf9f94c12d4edd7c3041f..3f8f7426532cea87542390f9d714e1398ff79875 100644 (file)
@@ -181,7 +181,7 @@ typedef struct ddsBuffer_s
        };
        unsigned int alphaBitDepth;
        unsigned int reserved;
-       void                *surface;
+       unsigned int surface; // void *surface;
        union
        {
                ddsColorKey_t ckDestOverlay;