aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/UScreenOptionsGraphics.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/UScreenOptionsGraphics.pas b/src/screens/UScreenOptionsGraphics.pas
index afee44a9..66c46b0f 100644
--- a/src/screens/UScreenOptionsGraphics.pas
+++ b/src/screens/UScreenOptionsGraphics.pas
@@ -64,9 +64,9 @@ begin
// 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}
+ {$IF Defined(Linux) or Defined(BSD)}
Reinitialize3D();
- {$ENDIF}
+ {$IFEND}
FadeTo(@ScreenOptions);
end;
end;