Use the correct pixel format

This commit is contained in:
Ry 2022-10-22 22:33:03 -07:00
parent 0f02835148
commit 979a8b2cfc

View File

@ -169,7 +169,7 @@ struct SDL_Texture *ScreenGetTexture(struct Screen *screen) {
screen->Texture = SDL_CreateTexture(
ScreenRenderer,
SDL_PIXELFORMAT_ABGR32,
SDL_PIXELFORMAT_ABGR8888,
SDL_TEXTUREACCESS_STREAMING,
screen->Width,
screen->Height