aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorvanfanel2015-10-18 20:25:53 +0200
committervanfanel2015-10-18 20:25:53 +0200
commitc362119572228721e45087d1a835231512b8edab (patch)
tree30e5b7e32cb329a0569c8e9a0cad390ae23470eb /configure
parenta4bfef8c53021c85d3d0c36cd5cc8c08e6139b0a (diff)
downloadscummvm-rg350-c362119572228721e45087d1a835231512b8edab.tar.gz
scummvm-rg350-c362119572228721e45087d1a835231512b8edab.tar.bz2
scummvm-rg350-c362119572228721e45087d1a835231512b8edab.zip
SDL/DISPMANX Renamed the RASBERRYPI define to the less confusing name of DISPMANX because it controls whether dispmanx rendering backend is enabled or not on the Raspberry Pi.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index b6e21049de..11c4f1c070 100755
--- a/configure
+++ b/configure
@@ -4081,6 +4081,7 @@ define_in_config_if_yes "$_opengl" "USE_OPENGL"
define_in_config_if_yes "$_opengles" "USE_GLES"
# Check if Raspberry Pi's Dispmanx graphics have been enabled and everything is in place.
+# If dispmanx is disabled, we fall back to plain SDL rendering.
if test "$_dispmanx" = "yes" ; then
echocheck "DispmanX graphics"
_use_dispmanx=no
@@ -4101,8 +4102,8 @@ EOF
if test "$_use_dispmanx" = "yes"; then
CXXFLAGS="$CXXFLAGS $DISPMANX_CXXFLAGS"
LIBS="$LIBS $DISPMANX_LIBS"
- DEFINES="$DEFINES -DRASPBERRYPI"
- add_line_to_config_mk 'RASPBERRYPI = 1'
+ DEFINES="$DEFINES -DDISPMANX"
+ add_line_to_config_mk 'DISPMANX = 1'
echo $_use_dispmanx
else echo "no"
fi