From: Holger Schemel Date: Fri, 10 Jun 2022 10:56:27 +0000 (+0200) Subject: removed some setup options for Emscripten platform X-Git-Tag: 4.3.2.2~14 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=84115b315d6a5954ca0add6b21b9c4f08631211f;p=rocksndiamonds.git removed some setup options for Emscripten platform --- diff --git a/src/screens.c b/src/screens.c index ee5035ce..d027efa2 100644 --- a/src/screens.c +++ b/src/screens.c @@ -7394,7 +7394,7 @@ static struct TokenInfo setup_info_editor[] = static struct TokenInfo setup_info_graphics[] = { -#if !defined(PLATFORM_ANDROID) +#if !defined(PLATFORM_ANDROID) && !defined(PLATFORM_EMSCRIPTEN) { TYPE_SWITCH, &setup.fullscreen, "Fullscreen:" }, { TYPE_ENTER_LIST, execSetupChooseWindowSize, "Window Scaling:" }, { TYPE_STRING, &window_size_text, "" }, @@ -7407,8 +7407,10 @@ static struct TokenInfo setup_info_graphics[] = { TYPE_ENTER_LIST, execSetupChooseScrollDelay, "Scroll Delay:" }, { TYPE_STRING, &scroll_delay_text, "" }, #endif +#if !defined(PLATFORM_EMSCRIPTEN) { TYPE_ENTER_LIST, execSetupChooseVsyncMode, "Vertical Sync (VSync):" }, { TYPE_STRING, &vsync_mode_text, "" }, +#endif { TYPE_SWITCH, &setup.fade_screens, "Fade Screens:" }, { TYPE_SWITCH, &setup.quick_switch, "Quick Player Focus Switch:" }, { TYPE_SWITCH, &setup.quick_doors, "Quick Menu Doors:" },