Cleanup CgeColor value in case of unsupported format

This commit is contained in:
blankhex committed 2026-07-21 18:52:40 +03:00
1 parent 853295ee1f
commit 1e624d9587
1 file changed
+2
+2
View File
@@ -351,6 +351,8 @@ static int isLittleEndian(void) {
static void readData(const struct FormatInfo *format, void *data, uint32_t x,
CgeColor *value, const CgeColor *palette, int flags) {
memset(value, 0, sizeof(*value));
switch (format->type) {
default: return;