mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-01-19 23:20:59 +00:00
Added header defs to dga_check.h
This commit is contained in:
parent
cfb408b863
commit
e5baa7240c
2 changed files with 11 additions and 3 deletions
|
@ -27,6 +27,9 @@
|
|||
59 Temple Place - Suite 330
|
||||
Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#ifdef HAS_DGA
|
||||
#include "dga_check.h"
|
||||
|
||||
|
@ -41,8 +44,9 @@
|
|||
int
|
||||
VID_CheckDGA ( Display *dpy )
|
||||
{
|
||||
int event_base, error_base = 0;
|
||||
int *event_base, *error_base;
|
||||
|
||||
event_base = error_base = NULL;
|
||||
XF86DGAQueryExtension ( dpy, event_base, error_base );
|
||||
if ( event_base )
|
||||
return true;
|
||||
|
@ -55,10 +59,11 @@ VID_CheckDGA ( Display *dpy )
|
|||
Check for the presence of the XFree86-VMode X server extension
|
||||
*/
|
||||
int
|
||||
VID_CheckVMode ( Display *dpy );
|
||||
VID_CheckVMode ( Display *dpy )
|
||||
{
|
||||
int event_base, error_base = 0;
|
||||
int *event_base, *error_base;
|
||||
|
||||
event_base = error_base = NULL;
|
||||
XF86VidModeQueryExtension ( dpy, event_base, error_base );
|
||||
if ( event_base )
|
||||
return true;
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
#define DGA_CHECK_H
|
||||
|
||||
#include <config.h>
|
||||
#include <quakedef.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#ifdef HAS_DGA
|
||||
#include <X11/extensions/xf86dga.h>
|
||||
|
|
Loading…
Reference in a new issue