Skip to content

Commit

Permalink
bugfix: don't refresh the emulation screen when GUI is open, under KM…
Browse files Browse the repository at this point in the history
…SDRM (#1401)
  • Loading branch information
midwan committed Aug 24, 2024
1 parent 105db49 commit 7e01c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osdep/gui/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ void update_gui_screen()
SDL_RenderCopyEx(mon->gui_renderer, gui_texture, nullptr, &gui_renderQuad, amiberry_options.rotation_angle, nullptr, SDL_FLIP_NONE);
SDL_RenderPresent(mon->gui_renderer);

if (mon->amiga_window)
if (mon->amiga_window && !kmsdrm_detected)
show_screen(0, 0);
}

Expand Down

0 comments on commit 7e01c45

Please sign in to comment.