]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.c
renamed VID_GrabMouse to VID_SetMouse as it now takes 3 parameters
[xonotic/darkplaces.git] / image.c
diff --git a/image.c b/image.c
index 2146a64758756dbde6d5dc1ad2170f2c4af1aae2..5cca3c3cc1475815315cca9c289049fdf7d6735e 100644 (file)
--- a/image.c
+++ b/image.c
@@ -703,6 +703,10 @@ imageformat_t imageformats_tenebrae[] =
        {"override/%s.png", PNG_LoadImage_BGRA},
        {"override/%s.jpg", JPEG_LoadImage_BGRA},
        {"override/%s.pcx", LoadPCX_BGRA},
+       {"%s.tga", LoadTGA_BGRA},
+       {"%s.png", PNG_LoadImage_BGRA},
+       {"%s.jpg", JPEG_LoadImage_BGRA},
+       {"%s.pcx", LoadPCX_BGRA},
        {NULL, NULL}
 };
 
@@ -833,10 +837,7 @@ unsigned char *loadimagepixelsbgra (const char *filename, qboolean complain, qbo
                                return data;
                        }
                        else
-                       {
-                               if (developer.integer >= 1)
-                                       Con_DPrintf("Error loading image %s (file loaded but decode failed)\n", name);
-                       }
+                               Con_DPrintf("Error loading image %s (file loaded but decode failed)\n", name);
                }
        }
        if (complain)