Skip to content

Commit

Permalink
enhancement: disable SDL2 render thread checkbox on KMSDRM
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Nov 12, 2023
1 parent 3f3318c commit f4c569d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osdep/gui/PanelDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,7 @@ void RefreshPanelDisplay()
chkAspect->setSelected(changed_prefs.gfx_correct_aspect);
chkFilterLowRes->setSelected(changed_prefs.gfx_lores_mode);

chkSdl2Thread->setEnabled(strcmpi(sdl_video_driver, "KMSDRM") != 0);
chkSdl2Thread->setSelected(get_sdl2_thread_enabled());

if (changed_prefs.gfx_apmode[0].gfx_fullscreen == GFX_WINDOW)
Expand Down

0 comments on commit f4c569d

Please sign in to comment.