aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
Diffstat (limited to 'Game')
-rw-r--r--Game/Code/Screens/UScreenOptionsGraphics.pas7
1 files changed, 6 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenOptionsGraphics.pas b/Game/Code/Screens/UScreenOptionsGraphics.pas
index d88753f2..9d8ee78a 100644
--- a/Game/Code/Screens/UScreenOptionsGraphics.pas
+++ b/Game/Code/Screens/UScreenOptionsGraphics.pas
@@ -50,7 +50,12 @@ begin
if SelInteraction = 5 then begin
Ini.Save;
AudioPlayback.PlaySound(SoundLib.Back);
- Reinitialize3D();
+ // FIXME: changing the video mode does not work this way in windows
+ // and MacOSX as all textures will be invalidated through this.
+ // See the ALT+TAB code too.
+ {$IFDEF Linux}
+ Reinitialize3D();
+ {$ENDIF}
FadeTo(@ScreenOptions);
end;
end;