SDL_image: Set the alpha to opaque when loading an indexed image

From c5bb63528bc279b302384df6f8baaceaf3b861c5 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 6 Dec 2024 09:18:22 -0800
Subject: [PATCH] Set the alpha to opaque when loading an indexed image

---
 src/IMG_ImageIO.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/IMG_ImageIO.m b/src/IMG_ImageIO.m
index 2d6eef01..1096210f 100644
--- a/src/IMG_ImageIO.m
+++ b/src/IMG_ImageIO.m
@@ -329,6 +329,7 @@ static CFDictionaryRef CreateHintDictionary(CFStringRef uti_string_hint)
                     palette->colors[i].r = entry[0];
                     palette->colors[i].g = entry[1];
                     palette->colors[i].b = entry[2];
+                    palette->colors[i].a = SDL_ALPHA_OPAQUE;
                     entry += num_components;
                 }
             }