summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-06-13 21:53:27 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-06-13 21:53:27 +0000
commit88cf4c2ebc661b366d9d1f00c4b84244af1d8bad (patch)
tree17853e924aadaa23af69679a203b8ccb984a4d11 /driver
parent441d26df42633a4d68877af495bae33177fcfade (diff)
Fix loading the driver without XAA
Diffstat (limited to 'driver')
-rw-r--r--driver/xf86-video-i740/src/i740_dga.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/xf86-video-i740/src/i740_dga.c b/driver/xf86-video-i740/src/i740_dga.c
index 532d614ee..c16cce381 100644
--- a/driver/xf86-video-i740/src/i740_dga.c
+++ b/driver/xf86-video-i740/src/i740_dga.c
@@ -41,10 +41,10 @@
static Bool I740_OpenFramebuffer(ScrnInfoPtr, char **, unsigned char **, int *, int *, int *);
static Bool I740_SetMode(ScrnInfoPtr, DGAModePtr);
-static void I740_Sync(ScrnInfoPtr);
static int I740_GetViewport(ScrnInfoPtr);
static void I740_SetViewport(ScrnInfoPtr, int, int, int);
#ifdef HAVE_XAA_H
+static void I740_Sync(ScrnInfoPtr);
static void I740_FillRect(ScrnInfoPtr, int, int, int, int, unsigned long);
static void I740_BlitRect(ScrnInfoPtr, int, int, int, int, int, int);
#if 0
@@ -57,8 +57,8 @@ static DGAFunctionRec I740DGAFuncs = {
I740_SetMode,
I740_SetViewport,
I740_GetViewport,
- I740_Sync,
#ifdef HAVE_XAA_H
+ I740_Sync,
I740_FillRect,
I740_BlitRect,
#if 0
@@ -67,7 +67,7 @@ static DGAFunctionRec I740DGAFuncs = {
NULL
#endif
#else
- NULL, NULL, NULL
+ NULL, NULL, NULL, NULL
#endif
};