From b1e7f99d9eea1711acf7471e9827500acccc5820 Mon Sep 17 00:00:00 2001 From: "Dmitry D. Chernov" Date: Fri, 24 Mar 2023 03:19:14 +1000 Subject: [PATCH] Game: Remove '--opengl-dump-exts' command-line switch This had no effect whatsoever since 0e101bd452c40da601236aaa2dd4106be47ddce1. --- src/game/g_options.pas | 2 +- src/game/g_window.pas | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/game/g_options.pas b/src/game/g_options.pas index d154de1..5bfedc9 100644 --- a/src/game/g_options.pas +++ b/src/game/g_options.pas @@ -114,7 +114,7 @@ begin gScreenHeight := 480; gWinSizeX := 640; gWinSizeY := 480; - //gBPP := SDL_BITSPERPIXEL(dispaly.format); + //gBPP := SDL_BITSPERPIXEL(display.format); gBPP := 32; {$IFDEF ANDROID} gFullScreen := True; (* rotation not allowed? *) diff --git a/src/game/g_window.pas b/src/game/g_window.pas index d3850c8..0649801 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -25,7 +25,6 @@ procedure ResetTimer (); procedure ProcessLoading (forceUpdate: Boolean = False); var - gwin_dump_extensions: Boolean = false; gwin_has_stencil: Boolean = false; gwin_k8_enable_light_experiments: Boolean = false; g_dbg_aimline_on: Boolean = false; @@ -256,8 +255,6 @@ begin begin arg := ParamStr(idx); Inc(idx); - if arg = '--opengl-dump-exts' then gwin_dump_extensions := true; - //if arg = '--twinkletwinkle' then gwin_k8_enable_light_experiments := true; if arg = '--jah' then g_profile_history_size := 100; if arg = '--no-particles' then gpart_dbg_enabled := false; if arg = '--no-los' then gmon_dbg_los_enabled := false; @@ -360,7 +357,6 @@ begin if (glLegacyNPOT) then e_logWriteln('NPOT texture emulation: enabled') else e_logWriteln('NPOT texture emulation: disabled'); end; - gwin_dump_extensions := false; Init; Time_Old := sys_GetTicks(); -- 2.29.2