From: havoc Date: Wed, 28 Nov 2007 07:10:48 +0000 (+0000) Subject: fix a mistake in the recent commit X-Git-Tag: xonotic-v0.1.0preview~2755 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e77a0ac55f772695996f145d103bd8ffd81487fd;p=xonotic%2Fdarkplaces.git fix a mistake in the recent commit git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7729 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/image.c b/image.c index 0745ea60..71cacb6e 100644 --- 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} };