SDL: Fix testautomation pixels_saveLoadBMP big endian issue

From 80c1b1e1a01ae6e740555e4be0629a3bda8c44e4 Mon Sep 17 00:00:00 2001
From: capehill <[EMAIL REDACTED]>
Date: Sun, 22 Dec 2024 15:10:57 +0200
Subject: [PATCH] Fix testautomation pixels_saveLoadBMP big endian issue

It seems created surfaces are ARGB8888 format on both BE and LE,
therefore BGRA32 failed.
---
 test/testautomation_pixels.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/testautomation_pixels.c b/test/testautomation_pixels.c
index 152b978efca07..cbe8161c54d2f 100644
--- a/test/testautomation_pixels.c
+++ b/test/testautomation_pixels.c
@@ -1009,7 +1009,7 @@ static int SDLCALL pixels_saveLoadBMP(void *arg)
         if (surface) {
             Uint8 *pixels = (Uint8 *)surface->pixels;
             if (SDL_ISPIXELFORMAT_ALPHA(format)) {
-                SDLTest_AssertCheck(surface->format == SDL_PIXELFORMAT_BGRA32, "Verify BMP surface format, expected %s, got %s", SDL_GetPixelFormatName(SDL_PIXELFORMAT_BGRA32), SDL_GetPixelFormatName(surface->format));
+                SDLTest_AssertCheck(surface->format == SDL_PIXELFORMAT_ARGB8888, "Verify BMP surface format, expected %s, got %s", SDL_GetPixelFormatName(SDL_PIXELFORMAT_ARGB8888), SDL_GetPixelFormatName(surface->format));
                 SDLTest_AssertCheck(pixels[0] == 255 &&
                                     pixels[1] == 255 &&
                                     pixels[2] == 255 &&
@@ -1057,7 +1057,7 @@ static int SDLCALL pixels_saveLoadBMP(void *arg)
         if (surface) {
             Uint8 *pixels = (Uint8 *)surface->pixels;
             if (SDL_ISPIXELFORMAT_ALPHA(format)) {
-                SDLTest_AssertCheck(surface->format == SDL_PIXELFORMAT_BGRA32, "Verify BMP surface format, expected %s, got %s", SDL_GetPixelFormatName(SDL_PIXELFORMAT_BGRA32), SDL_GetPixelFormatName(surface->format));
+                SDLTest_AssertCheck(surface->format == SDL_PIXELFORMAT_ARGB8888, "Verify BMP surface format, expected %s, got %s", SDL_GetPixelFormatName(SDL_PIXELFORMAT_ARGB8888), SDL_GetPixelFormatName(surface->format));
                 SDLTest_AssertCheck(pixels[0] == 255 &&
                                     pixels[1] == 255 &&
                                     pixels[2] == 255 &&