aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/switches.inc
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-07 19:52:50 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-07 19:52:50 +0000
commitd4d3d8873fea024cd9e1f17b04416bebe627d1f0 (patch)
tree47053ef22d8de6a59326efe9bb0721ce0d698a30 /Game/Code/switches.inc
parent51a8b92b1696c8ff27523de753a7c6a743a817de (diff)
downloadusdx-d4d3d8873fea024cd9e1f17b04416bebe627d1f0.tar.gz
usdx-d4d3d8873fea024cd9e1f17b04416bebe627d1f0.tar.xz
usdx-d4d3d8873fea024cd9e1f17b04416bebe627d1f0.zip
SWScale will only be used if FFMpeg is available (this should be the standard case)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@839 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/switches.inc14
1 files changed, 8 insertions, 6 deletions
diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc
index a50c759b..66a8ad07 100644
--- a/Game/Code/switches.inc
+++ b/Game/Code/switches.inc
@@ -34,6 +34,7 @@
{$IF Defined(win32)}
+ // include defines but no constants
{$I config-win.inc}
// audio config
@@ -53,9 +54,9 @@
// video config
{$IFDEF HaveFFMpeg}
{$DEFINE UseFFMpegVideo}
- {$ENDIF}
- {$IFDEF HaveSWScale}
- {$DEFINE UseSWScale}
+ {$IFDEF HaveSWScale}
+ {$DEFINE UseSWScale}
+ {$ENDIF}
{$ENDIF}
// misc defines
@@ -72,6 +73,7 @@
{$ENDIF}
{$ENDIF}
{$ELSEIF Defined(Linux)}
+ // include defines but no constants
{$I config-linux.inc}
// audio config
@@ -86,9 +88,9 @@
// video config
{$IFDEF HaveFFMpeg}
{$DEFINE UseFFMpegVideo}
- {$ENDIF}
- {$IFDEF HaveSWScale}
- {$DEFINE UseSWScale}
+ {$IFDEF HaveSWScale}
+ {$DEFINE UseSWScale}
+ {$ENDIF}
{$ENDIF}
// misc defines