]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a mistake in the recent commit
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Nov 2007 07:10:48 +0000 (07:10 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Nov 2007 07:10:48 +0000 (07:10 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7729 d7cf8633-e32d-0410-b094-e92efae38249

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}
 };