summaryrefslogtreecommitdiff
path: root/driver/xf86-video-trident/src/trident_dga.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-06-13 21:47:29 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-06-13 21:47:29 +0000
commit6dbb53b7d7269edb40dcecbf1b60739f6d2de21f (patch)
treed048bd29c1f7fe1fecb1da4d385a59e231e9c860 /driver/xf86-video-trident/src/trident_dga.c
parent2a3f3fc50773b989a741a04b9f4d31c42d437ca3 (diff)
Fix loading the driver without XAA
Diffstat (limited to 'driver/xf86-video-trident/src/trident_dga.c')
-rw-r--r--driver/xf86-video-trident/src/trident_dga.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/xf86-video-trident/src/trident_dga.c b/driver/xf86-video-trident/src/trident_dga.c
index 0263aa768..559305f1c 100644
--- a/driver/xf86-video-trident/src/trident_dga.c
+++ b/driver/xf86-video-trident/src/trident_dga.c
@@ -37,10 +37,10 @@
static Bool TRIDENT_OpenFramebuffer(ScrnInfoPtr, char **, unsigned char **,
int *, int *, int *);
static Bool TRIDENT_SetMode(ScrnInfoPtr, DGAModePtr);
-static void TRIDENT_Sync(ScrnInfoPtr);
static int TRIDENT_GetViewport(ScrnInfoPtr);
static void TRIDENT_SetViewport(ScrnInfoPtr, int, int, int);
#ifdef HAVE_XAA_H
+static void TRIDENT_Sync(ScrnInfoPtr);
static void TRIDENT_FillRect(ScrnInfoPtr, int, int, int, int, unsigned long);
static void TRIDENT_BlitRect(ScrnInfoPtr, int, int, int, int, int, int);
#if 0
@@ -56,8 +56,8 @@ DGAFunctionRec TRIDENTDGAFuncs = {
TRIDENT_SetMode,
TRIDENT_SetViewport,
TRIDENT_GetViewport,
- TRIDENT_Sync,
#ifdef HAVE_XAA_H
+ TRIDENT_Sync,
TRIDENT_FillRect,
TRIDENT_BlitRect,
#if 0
@@ -66,7 +66,7 @@ DGAFunctionRec TRIDENTDGAFuncs = {
NULL
#endif
#else
- NULL, NULL, NULL
+ NULL, NULL, NULL, NULL
#endif
};