mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[ion] Simulator windows: fix pixel format typo
This commit is contained in:
committed by
EmilieNumworks
parent
8000ff733e
commit
0b114abb95
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user