]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.c
changed Draw_CachePic to load both tga/png/jpg and lmp/wad images at once and take...
[xonotic/darkplaces.git] / image.c
diff --git a/image.c b/image.c
index 529d7472e1e3425d489d33b993c82df77175ecef..353a4b5dab1d58416b8988e43a786485e17b2229 100644 (file)
--- a/image.c
+++ b/image.c
@@ -712,11 +712,6 @@ unsigned char *LoadLMP (const unsigned char *f, int filesize, int matchwidth, in
        return image_buffer;
 }
 
-static unsigned char *LoadLMPRGBA (const unsigned char *f, int filesize, int matchwidth, int matchheight)
-{
-       return LoadLMP(f, filesize, matchwidth, matchheight, false);
-}
-
 
 typedef struct q2wal_s
 {
@@ -836,7 +831,6 @@ imageformat_t imageformats_gfx[] =
        {"%s.png", PNG_LoadImage},
        {"%s.jpg", JPEG_LoadImage},
        {"%s.pcx", LoadPCX},
-       {"%s.lmp", LoadLMPRGBA},
        {NULL, NULL}
 };