1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-17 21:27:08 +00:00

Create proper define for DFBMGA.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20216 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-10-14 18:00:26 +00:00
parent d95fb6c38d
commit c73a53ddf5
2 changed files with 5 additions and 2 deletions

3
configure vendored
View File

@ -3772,8 +3772,10 @@ if test "$_directfb" = yes ; then
if test "$_dfb_version" -ge $(dfb_version 0 9 15); then
_vosrc="$_vosrc vo_dfbmga.c"
_vomodules="dfbmga $_vomodules"
_def_dfbmga='#define HAVE_DFBMGA 1'
else
_novomodules="dfbmga $_novomodules"
_def_dfbmga='#undef HAVE_DFBMGA'
fi
else
_def_directfb='#undef HAVE_DIRECTFB'
@ -8344,6 +8346,7 @@ $_def_tdfxfb
$_def_tdfxvid
$_def_directfb
$_def_directfb_version
$_def_dfbmga
$_def_zr
$_def_bl
$_def_mga

View File

@ -113,7 +113,7 @@ extern vo_functions_t video_out_vesa;
#endif
#ifdef HAVE_DIRECTFB
extern vo_functions_t video_out_directfb;
#if DIRECTFBVERSION >= 915
#ifdef HAVE_DFBMGA
extern vo_functions_t video_out_dfbmga;
#endif
#endif
@ -228,7 +228,7 @@ vo_functions_t* video_out_drivers[] =
#endif
#ifdef HAVE_DIRECTFB
&video_out_directfb,
#if DIRECTFBVERSION >= 915
#ifdef HAVE_DFBMGA
&video_out_dfbmga,
#endif
#endif