summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2012-01-09 01:00:40 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2012-01-09 01:00:40 -0800
commit02918fd53434a23a72fe878a90f4ec48ef0e0416 (patch)
tree07fcc7297e8347648ef5b54cbb69564945cc953c /src
parentbccf37f052748386902112b770b89d81bddfaeb8 (diff)
Don't use XFreeXDGA to determine DGA support
If our server supports DGA and we want to build the dummy driver without it, XFreeXDGA will be defined by the server and will be picked up rather than our configuration option. This change forces us to honor our configuration hoice. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src')
-rw-r--r--src/dummy_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index 041ca96..6533b27 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -45,7 +45,7 @@
#include <X11/Xproto.h>
#include "scrnintstr.h"
#include "servermd.h"
-#ifdef XFreeXDGA
+#ifdef USE_DGA
#define _XF86DGA_SERVER_
#include <X11/extensions/xf86dgaproto.h>
#endif
@@ -592,7 +592,7 @@ DUMMYScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
xf86SetBlackWhitePixels(pScreen);
-#ifdef XFreeXDGA
+#ifdef USE_DGA
DUMMYDGAInit(pScreen);
#endif