diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-06-13 21:50:06 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-06-13 21:50:06 +0000 |
commit | 891cdf71bfd756379f53a883e3e4f44de12183a2 (patch) | |
tree | 12933f76d0a7f528149f9ac68b1d4f8ea914eaef /driver/xf86-video-neomagic | |
parent | b03f680377f2479ec9a799bc32e3c0c3ae065c04 (diff) |
Fix loading the driver without XAA
Diffstat (limited to 'driver/xf86-video-neomagic')
-rw-r--r-- | driver/xf86-video-neomagic/src/neo_dga.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver/xf86-video-neomagic/src/neo_dga.c b/driver/xf86-video-neomagic/src/neo_dga.c index b6346c53d..a51719410 100644 --- a/driver/xf86-video-neomagic/src/neo_dga.c +++ b/driver/xf86-video-neomagic/src/neo_dga.c @@ -38,10 +38,10 @@ static Bool NEO_OpenFramebuffer(ScrnInfoPtr, char **, unsigned char **, int *, int *, int *); static Bool NEO_SetMode(ScrnInfoPtr, DGAModePtr); -static void NEO_Sync(ScrnInfoPtr); static int NEO_GetViewport(ScrnInfoPtr); static void NEO_SetViewport(ScrnInfoPtr, int, int, int); #ifdef HAVE_XAA_H +static void NEO_Sync(ScrnInfoPtr); static void NEO_FillRect(ScrnInfoPtr, int, int, int, int, unsigned long); static void NEO_BlitRect(ScrnInfoPtr, int, int, int, int, int, int); #if 0 @@ -57,8 +57,8 @@ DGAFunctionRec NEODGAFuncs = { NEO_SetMode, NEO_SetViewport, NEO_GetViewport, - NEO_Sync, #ifdef HAVE_XAA_H + NEO_Sync, NEO_FillRect, NEO_BlitRect, #if 0 @@ -67,7 +67,7 @@ DGAFunctionRec NEODGAFuncs = { NULL #endif #else - NULL, NULL, NULL + NULL, NULL, NULL, NULL #endif }; |