From fc0f58c839b8b7f1dd22867c9d4a21a50859167d 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 5494d9c3290..d7349fd96b5 100644 --- a/Source/storm/storm_svid.cpp +++ b/Source/storm/storm_svid.cpp @@ -400,7 +400,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(); }