diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-11-09 16:51:43 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-11-09 16:51:43 -0800 |
commit | 4d19ec621fccb73677ff9dc04f7a235155f6327d (patch) | |
tree | 6e46796382dbb12873537ef3e5ff6ddf1397b6bd | |
parent | 4213d54546c0b5758ed811eb70b48e189d5d1db6 (diff) |
sdl_fb: s/fullscreen_values/bool_values/
Preparatory commit for a vsync setting sharing these values.
-rw-r--r-- | src/sdl_fb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sdl_fb.c b/src/sdl_fb.c index d59a946..184e679 100644 --- a/src/sdl_fb.c +++ b/src/sdl_fb.c @@ -274,7 +274,7 @@ til_fb_ops_t sdl_fb_ops = { static int sdl_fb_setup(const til_settings_t *settings, til_setting_t **res_setting, const til_setting_desc_t **res_desc, til_setup_t **res_setup) { - const char *fullscreen_values[] = { + const char *bool_values[] = { "off", "on", NULL @@ -288,8 +288,8 @@ static int sdl_fb_setup(const til_settings_t *settings, til_setting_t **res_sett .name = "SDL fullscreen mode", .key = "fullscreen", .regex = NULL, - .preferred = fullscreen_values[0], - .values = fullscreen_values, + .preferred = bool_values[0], + .values = bool_values, .annotations = NULL }, &fullscreen, |