From fb625d826f08272f8da6f68b187e3db0cfcd33a4 Mon Sep 17 00:00:00 2001 From: Apaczer <94932128+Apaczer@users.noreply.github.com> Date: Thu, 26 Dec 2024 17:14:13 +0100 Subject: [PATCH] storm_svid: use DISPLAY_TEXTURE_FORMAT for PlayEnd otherwise we get incorrect menu graphics --- Source/storm/storm_svid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/storm/storm_svid.cpp b/Source/storm/storm_svid.cpp index fda3dec4f..649a80280 100644 --- a/Source/storm/storm_svid.cpp +++ b/Source/storm/storm_svid.cpp @@ -379,7 +379,7 @@ void SVidPlayEnd() #ifndef USE_SDL1 if (renderer != nullptr) { - texture = SDLWrap::CreateTexture(renderer, SDL_PIXELFORMAT_RGB888, SDL_TEXTUREACCESS_STREAMING, gnScreenWidth, gnScreenHeight); + texture = SDLWrap::CreateTexture(renderer, DEVILUTIONX_DISPLAY_TEXTURE_FORMAT, SDL_TEXTUREACCESS_STREAMING, gnScreenWidth, gnScreenHeight); if (renderer != nullptr && SDL_RenderSetLogicalSize(renderer, gnScreenWidth, gnScreenHeight) <= -1) { ErrSdl(); }