diff --git a/src/game/g_window.pas b/src/game/g_window.pas
index afc23e2b1b22a6e22f4adcd9e89cfa154495e10b..7774c0a34c0c03b2bda5fd5418ece817dc492963 100644 (file)
--- a/src/game/g_window.pas
+++ b/src/game/g_window.pas
mdfo.Free();
Halt(0);
end;
+
+ if (arg = '--pixel-scale') or (arg = '-pixel-scale') then
+ begin
+ if (idx <= ParamCount) then
+ begin
+ if not conParseFloat(r_pixel_scale, ParamStr(idx)) then r_pixel_scale := 1.0;
+ Inc(idx);
+ end;
+ end;
end;
{$IFNDEF USE_SYSSTUB}
glLegacyNPOT := not (GLExtensionSupported('GL_ARB_texture_non_power_of_two') or GLExtensionSupported('GL_OES_texture_npot'));
{$ELSE}
glLegacyNPOT := False;
+ glRenderToFBO := False;
{$ENDIF}
if glNPOTOverride and glLegacyNPOT then
begin