Skip to content

Commit

Permalink
storm_svid: use DISPLAY_TEXTURE_FORMAT for PlayEnd
Browse files Browse the repository at this point in the history
otherwise we get incorrect menu graphics
  • Loading branch information
Apaczer authored and AJenbo committed Dec 26, 2024
1 parent aec1769 commit fc0f58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/storm/storm_svid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit fc0f58c

Please sign in to comment.