diff options
Diffstat (limited to 'video/out/vo_sdl.c')
-rw-r--r-- | video/out/vo_sdl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index 039547f2d4..b50fc6d94c 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -980,9 +980,9 @@ const struct vo_driver video_out_sdl = { .screensaver_enabled = false, }, .options = (const struct m_option []){ - OPT_FLAG("sw", allow_sw, 0), - OPT_FLAG("switch-mode", switch_mode, 0), - OPT_FLAG("vsync", vsync, 0), + {"sw", OPT_FLAG(allow_sw)}, + {"switch-mode", OPT_FLAG(switch_mode)}, + {"vsync", OPT_FLAG(vsync)}, {NULL} }, .preinit = preinit, |