SDL_image: update test/main.c after recent SDL3 changes. (4ae69)

From 4ae69f71e12f0e9131ec08a61a075c26c48be8e9 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 12 Feb 2024 23:25:24 +0300
Subject: [PATCH] update test/main.c after recent SDL3 changes.

---
 test/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/main.c b/test/main.c
index 882b4abc..36a53383 100644
--- a/test/main.c
+++ b/test/main.c
@@ -594,7 +594,7 @@ DumpPixels(const char *filename, SDL_Surface *surface)
         for (i = 0; i < w; i++) {
             p = pixels + (j * pitch) + (i * surface->format->bytes_per_pixel);
 
-            switch (surface->format->BitsPerPixel) {
+            switch (surface->format->bits_per_pixel) {
                 case 1:
                 case 4:
                 case 8: