diff --git a/src/game/g_options.pas b/src/game/g_options.pas
index a80d682cc3fdfcc5764377011b4a3d9c2821afe7..1c23bb876ceb5de32288f89577107f1b412531e7 100644 (file)
--- a/src/game/g_options.pas
+++ b/src/game/g_options.pas
gSFSFastMode: Boolean;
gDefaultMegawadStart: AnsiString;
gBerserkAutoswitch: Boolean;
+ glNPOTOverride: Boolean = false;
implementation
ReadInteger(gFreq, 'Freq', 0);
ReadBoolean(gVSync, 'VSync');
ReadBoolean(gTextureFilter, 'TextureFilter');
- ReadBoolean(glLegacyNPOT, 'LegacyCompatible');
+ ReadBoolean(glNPOTOverride, 'LegacyCompatibleForce');
section := 'Sound';
ReadBoolean(gNoSound, 'NoSound');
config.WriteInt('Video', 'BPP', gBPP);
config.WriteBool('Video', 'VSync', gVSync);
config.WriteBool('Video', 'TextureFilter', gTextureFilter);
- config.WriteBool('Video', 'LegacyCompatible', glLegacyNPOT);
+ config.WriteBool('Video', 'LegacyCompatibleForce', glNPOTOverride);
config.WriteBool('Sound', 'NoSound', gNoSound);
config.WriteInt('Sound', 'SoundLevel', gSoundLevel);