[ioquake3] 29/39: OpenGL2: Prioritize loading .png images over all others besides .dds.

Simon McVittie smcv at debian.org
Sat Nov 5 20:26:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 89557524574e46b5ef19e11b9d1cdf7008b9d0c1
Author: SmileTheory <SmileTheory at gmail.com>
Date:   Thu Oct 27 02:11:29 2016 -0700

    OpenGL2: Prioritize loading .png images over all others besides .dds.
---
 code/renderergl2/tr_image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/renderergl2/tr_image.c b/code/renderergl2/tr_image.c
index 4666670..81e3268 100644
--- a/code/renderergl2/tr_image.c
+++ b/code/renderergl2/tr_image.c
@@ -2272,10 +2272,10 @@ typedef struct
 // when there are multiple images of different formats available
 static imageExtToLoaderMap_t imageLoaders[ ] =
 {
+	{ "png",  R_LoadPNG },
 	{ "tga",  R_LoadTGA },
 	{ "jpg",  R_LoadJPG },
 	{ "jpeg", R_LoadJPG },
-	{ "png",  R_LoadPNG },
 	{ "pcx",  R_LoadPCX },
 	{ "bmp",  R_LoadBMP }
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list