mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-21 19:51:18 +00:00
Move the DGA check for XDGA_MAJOR_VERSION inside the actual HAVE_DGA
check. :)
This commit is contained in:
parent
8dead3b82d
commit
30a0105e82
1 changed files with 4 additions and 4 deletions
|
@ -39,10 +39,6 @@
|
||||||
#ifdef HAVE_DGA
|
#ifdef HAVE_DGA
|
||||||
# include <X11/extensions/xf86dga.h>
|
# include <X11/extensions/xf86dga.h>
|
||||||
# include <X11/extensions/xf86dgastr.h>
|
# include <X11/extensions/xf86dgastr.h>
|
||||||
#endif
|
|
||||||
#ifdef HAVE_VIDMODE
|
|
||||||
# include <X11/extensions/xf86vmode.h>
|
|
||||||
# include <X11/extensions/xf86vmstr.h>
|
|
||||||
# ifndef XDGA_MAJOR_VERSION
|
# ifndef XDGA_MAJOR_VERSION
|
||||||
# ifdef XF86DGA_MAJOR_VERSION
|
# ifdef XF86DGA_MAJOR_VERSION
|
||||||
# define XDGA_MAJOR_VERSION XF86DGA_MAJOR_VERSION
|
# define XDGA_MAJOR_VERSION XF86DGA_MAJOR_VERSION
|
||||||
|
@ -51,6 +47,10 @@
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_VIDMODE
|
||||||
|
# include <X11/extensions/xf86vmode.h>
|
||||||
|
# include <X11/extensions/xf86vmstr.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "console.h"
|
#include "console.h"
|
||||||
#include "dga_check.h"
|
#include "dga_check.h"
|
||||||
|
|
Loading…
Reference in a new issue