summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/video.cpp')
-rw-r--r--src/osd/sdl/video.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/osd/sdl/video.cpp b/src/osd/sdl/video.cpp
index 43da8cc2355..b08cb269a2f 100644
--- a/src/osd/sdl/video.cpp
+++ b/src/osd/sdl/video.cpp
@@ -124,7 +124,6 @@ void sdl_monitor_info::refresh()
m_is_primary = (m_handle == 0);
}
-
//============================================================
// update
//============================================================
@@ -136,6 +135,8 @@ void sdl_osd_interface::update(bool skip_redraw)
if (m_watchdog != NULL)
m_watchdog->reset();
+ update_slider_list();
+
// if we're not skipping this redraw, update all windows
if (!skip_redraw)
{
@@ -356,10 +357,10 @@ void sdl_osd_interface::extract_video_config()
if (options().seconds_to_run() == 0)
osd_printf_warning("Warning: -video none doesn't make much sense without -seconds_to_run\n");
}
-#if (USE_OPENGL)
+#if (USE_OPENGL)
else if (strcmp(stemp, SDLOPTVAL_OPENGL) == 0)
video_config.mode = VIDEO_MODE_OPENGL;
-#endif
+#endif
else if ((strcmp(stemp, SDLOPTVAL_SDL2ACCEL) == 0))
{
video_config.mode = VIDEO_MODE_SDL2ACCEL;