[ion] Simulator windows: fix pixel format typo

This commit is contained in:
Émilie Feral
2020-09-16 11:19:51 +02:00
committed by EmilieNumworks
parent 8000ff733e
commit 0b114abb95

View File

@@ -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);