foxygit / doom Log in
commit c00d374d689c3d7437b1ad55fbd23f9e20f60e5c
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Sun Aug 6 19:14:28 2017 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Sun Aug 6 19:14:28 2017 -0400

    setup: Remove porch/integer scale controls.

    We've gone a bit overboard with adding new settings into this dialog,
    and I think these two are sufficiently obscure that they're not worth
    including in the UI. The options are still available in the config file,
    so if people are sufficiently motivated they can turn these on or off.
---
 src/setup/display.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/setup/display.c b/src/setup/display.c
index cde8478a..98ec2249 100644
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -196,9 +196,6 @@ static void AdvancedDisplayConfig(TXT_UNCAST_ARG(widget),
     TXT_AddWidgets(window,
         ar_checkbox = TXT_NewCheckBox("Fix aspect ratio",
                                       &aspect_ratio_correct),
-#if SDL_VERSION_ATLEAST(2, 0, 5)
-        TXT_NewCheckBox("Integer scaling", &integer_scaling),
-#endif
         TXT_If(gamemission == heretic || gamemission == hexen
             || gamemission == strife,
             TXT_NewCheckBox("Graphical startup", &graphical_startup)),
@@ -210,8 +207,6 @@ static void AdvancedDisplayConfig(TXT_UNCAST_ARG(widget),
         TXT_NewCheckBox("Save screenshots in PNG format",
                         &png_screenshots),
 #endif
-        TXT_NewCheckBox("Flash borders (VGA porch emulation)",
-                        &vga_porch_flash),
         NULL);

     TXT_SignalConnect(ar_checkbox, "changed", GenerateSizesTable, sizes_table);