DEADSOFTWARE

autodetect NPOT texture support
[d2df-sdl.git] / src / game / g_game.pas
index 811148cf456bfb8fb4a54703ca79ebf0ad567361..68b2ee4a987114e6ad98e41b8fb6518357491a37 100644 (file)
@@ -6485,10 +6485,18 @@ var
 begin
   Parse_Params(pars);
 
+  s := Find_Param_Value(pars, '--opengl-dump-exts');
+  if s <> '' then gwin_dump_extensions := true; // sorry
+
 // Debug mode:
   s := Find_Param_Value(pars, '--debug');
   if (s <> '') then
+  begin
     g_Game_SetDebugMode();
+    s := Find_Param_Value(pars, '--netdump');
+    if (s <> '') then
+      NetDump := True;
+  end;
 
 // Connect when game loads
   ip := Find_Param_Value(pars, '-connect');