From: Dmitry D. Chernov Date: Thu, 23 Mar 2023 17:19:14 +0000 (+1000) Subject: Game: Remove '--opengl-dump-exts' command-line switch X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=b1e7f99d9eea1711acf7471e9827500acccc5820;p=d2df-sdl.git Game: Remove '--opengl-dump-exts' command-line switch This had no effect whatsoever since 0e101bd452c40da601236aaa2dd4106be47ddce1. --- 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();