From 89557524574e46b5ef19e11b9d1cdf7008b9d0c1 Mon Sep 17 00:00:00 2001 From: SmileTheory Date: Thu, 27 Oct 2016 02:11:29 -0700 Subject: [PATCH] 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 4666670f..81e32684 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 } };