Added header defs to dga_check.h

This commit is contained in:
Jeff Teunissen 2000-01-09 08:12:18 +00:00
parent cfb408b863
commit e5baa7240c
2 changed files with 11 additions and 3 deletions

View file

@ -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;

View file

@ -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>