]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.c
Added a couple todo items related to pq_fullpitch
[xonotic/darkplaces.git] / image.c
diff --git a/image.c b/image.c
index 58f7c053234b58f1de69363ef0618389a1887fe9..d72ceca744644700e558808c08a4dd86dc1fbd85 100644 (file)
--- a/image.c
+++ b/image.c
@@ -436,6 +436,8 @@ unsigned char *LoadTGA_BGRA (const unsigned char *f, int filesize, int *miplevel
                return NULL;
        }
 
+       memset(palettei, 0, sizeof(palettei));
+
        // advance to end of header
        fin = f + 18;