1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

vo_dga: replace xf86dga.h with Xxf86dga.h

xf86dga.h is deprecated and may be removed in the future.
This commit is contained in:
Clément Bœsch 2011-03-09 20:39:13 +01:00 committed by Uoti Urpala
parent 52743acba3
commit 699bf9dcd3
3 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -4036,11 +4036,11 @@ echores "$_xf86keysym"
echocheck "DGA"
if test "$_dga2" = auto && test "$_x11" = yes ; then
_dga2=no
statement_check_broken X11/Xlib.h X11/extensions/xf86dga.h 'XDGASetViewport(0, 0, 0, 0, 0)' -lXxf86dga && _dga2=yes
statement_check_broken X11/Xlib.h X11/extensions/Xxf86dga.h 'XDGASetViewport(0, 0, 0, 0, 0)' -lXxf86dga && _dga2=yes
fi
if test "$_dga1" = auto && test "$_dga2" = no && test "$_vm" = yes ; then
_dga1=no
statement_check_broken X11/Xlib.h X11/extensions/xf86dga.h 'XF86DGASetViewPort(0, 0, 0, 0)' -lXxf86dga -lXxf86vm && _dga1=yes
statement_check_broken X11/Xlib.h X11/extensions/Xxf86dga.h 'XF86DGASetViewPort(0, 0, 0, 0)' -lXxf86dga -lXxf86vm && _dga1=yes
fi
_dga=no

View File

@ -40,7 +40,7 @@
#include <signal.h>
#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
#include <X11/extensions/Xxf86dga.h>
#include <X11/Xutil.h>
//#define LOG(x) syslog(LOG_USER | LOG_DEBUG,x)

View File

@ -35,7 +35,7 @@
#include "mp_msg.h"
#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
#include <X11/extensions/Xxf86dga.h>
#ifdef CONFIG_XF86VM
#include <X11/extensions/xf86vmode.h>