Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/sdlmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp
index d26c019da..3df1100a6 100644
--- a/src/gui/sdlmain.cpp
+++ b/src/gui/sdlmain.cpp
@@ -3440,7 +3440,7 @@ static std::optional<SDL_Surface *> get_rendered_surface()
// Get the SDL texture-renderer surface
// ------------------------------------
- else if (sdl.desktop.type == SCREEN_TEXTURE) {
+ if (sdl.desktop.type == SCREEN_TEXTURE) {
// Get the renderer's pixel format
SDL_RendererInfo rinfo;
if (SDL_GetRendererInfo(renderer, &rinfo) != 0) {