summaryrefslogtreecommitdiff
path: root/src/dummy_driver.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-09-14 14:50:36 -0500
committerJamey Sharp <jamey@minilop.net>2011-09-14 15:48:13 -0500
commitdd9be3b21842aacdee5501cd2e0bfafb11b5ec08 (patch)
tree92e38572b02a2fe6d9aef353187b345fe1f450bb /src/dummy_driver.c
parentdd598ca433d2386687f9543457e4c6ffdb16d7c4 (diff)
Add a configure option to disable dga
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'src/dummy_driver.c')
-rw-r--r--src/dummy_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index e6124e8..041ca96 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -592,7 +592,9 @@ DUMMYScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
xf86SetBlackWhitePixels(pScreen);
+#ifdef XFreeXDGA
DUMMYDGAInit(pScreen);
+#endif
if (dPtr->swCursor)
xf86DrvMsg(scrnIndex, X_CONFIG, "Using Software Cursor.\n");