]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - image.c
fix miscounting of timedemo frames on cold/warm runs in the same session
[xonotic/darkplaces.git] / image.c
diff --git a/image.c b/image.c
index 0745ea608e6fe367b5f4197d5d02578191b50b38..71cacb6e0b7e25168e61fb647997f5d7114474a0 100644 (file)
--- a/image.c
+++ b/image.c
@@ -727,10 +727,10 @@ imageformat_t imageformats_nopath[] =
 // so i just use additional folder to store this textures
 imageformat_t imageformats_dq[] =
 {
-       {"%s.tga", LoadTGA},
-       {"%s.jpg", JPEG_LoadImage},
-       {"texturemaps/%s.tga", LoadTGA},
-       {"texturemaps/%s.jpg", JPEG_LoadImage},
+       {"%s.tga", LoadTGA_BGRA},
+       {"%s.jpg", JPEG_LoadImage_BGRA},
+       {"texturemaps/%s.tga", LoadTGA_BGRA},
+       {"texturemaps/%s.jpg", JPEG_LoadImage_BGRA},
        {NULL, NULL}
 };