From b03ef96f36c0f80a549add1d5364c5d7725d95b5 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 23 Feb 2019 09:33:55 +0000 Subject: [PATCH] Try to fix tracker image alphas git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5405 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_font.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/gl/gl_font.c b/engine/gl/gl_font.c index 0726d0b8b..9c52b75c8 100644 --- a/engine/gl/gl_font.c +++ b/engine/gl/gl_font.c @@ -387,7 +387,7 @@ static image_t *Font_GetTrackerImage(unsigned int imid) { if (!*trackerimages[imid].name) return NULL; - trackerimages[imid].image = Image_GetTexture(trackerimages[imid].name, NULL, 0, NULL, NULL, 0, 0, TF_INVALID); + trackerimages[imid].image = Image_GetTexture(trackerimages[imid].name, NULL, IF_PREMULTIPLYALPHA|IF_UIPIC, NULL, NULL, 0, 0, TF_INVALID); } if (!trackerimages[imid].image) return NULL; @@ -404,7 +404,7 @@ qboolean Font_TrackerValid(unsigned int imid) { if (!*trackerimages[imid].name) return false; - trackerimages[imid].image = Image_GetTexture(trackerimages[imid].name, NULL, 0, NULL, NULL, 0, 0, TF_INVALID); + trackerimages[imid].image = Image_GetTexture(trackerimages[imid].name, NULL, IF_PREMULTIPLYALPHA|IF_UIPIC, NULL, NULL, 0, 0, TF_INVALID); } if (!trackerimages[imid].image) return false;