[iortcw] 145/152: All: Rend2: Prioritize loading .png images over all others besides .dds
Simon McVittie
smcv at debian.org
Fri Sep 8 10:40:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to annotated tag 1.5a
in repository iortcw.
commit ebf3af4b613716063cbfccc6030f095cfcbf0854
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date: Thu Oct 27 18:27:37 2016 -0400
All: Rend2: Prioritize loading .png images over all others besides .dds
---
MP/code/rend2/tr_image.c | 2 +-
SP/code/rend2/tr_image.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/MP/code/rend2/tr_image.c b/MP/code/rend2/tr_image.c
index 964f6ae..df4f940 100644
--- a/MP/code/rend2/tr_image.c
+++ b/MP/code/rend2/tr_image.c
@@ -2351,10 +2351,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 }
};
diff --git a/SP/code/rend2/tr_image.c b/SP/code/rend2/tr_image.c
index 0d7b0e6..5b35db8 100644
--- a/SP/code/rend2/tr_image.c
+++ b/SP/code/rend2/tr_image.c
@@ -2346,10 +2346,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/iortcw.git
More information about the Pkg-games-commits
mailing list