From 0b114abb95b196a989fd162cf58991a49b9349f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 16 Sep 2020 11:19:51 +0200 Subject: [PATCH] [ion] Simulator windows: fix pixel format typo --- ion/src/simulator/windows/images.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ion/src/simulator/windows/images.cpp b/ion/src/simulator/windows/images.cpp index aade41f1f..923b16d9a 100644 --- a/ion/src/simulator/windows/images.cpp +++ b/ion/src/simulator/windows/images.cpp @@ -69,7 +69,7 @@ SDL_Texture * IonSimulatorLoadImage(SDL_Renderer * renderer, const char * identi height, bitsPerPixel, bytesPerPixel*width, - SDL_PIXELFORMAT_ABGR8888); + SDL_PIXELFORMAT_ARGB8888); SDL_SetColorKey(surface, withTransparency, SDL_MapRGB(surface->format, 0xFF, 0xFF, 0xFF)); SDL_SetSurfaceAlphaMod(surface, alpha);