diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-15 10:38:09 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-16 22:15:39 +0000 |
commit | bfd2bb40274d1242001d295a4010211fd51b0fc3 (patch) | |
tree | 277fb6eec6441d1ac926e7d825791583a17eb2c4 /src | |
parent | 3771387ad11b5842a83e58a4b373c2acdd827bd2 (diff) |
sna: Correct dependencies for DRI2
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/Makefile.am | 2 | ||||
-rw-r--r-- | src/sna/sna_driver.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/Makefile.am b/src/sna/Makefile.am index 30cedc6a..65e85bfa 100644 --- a/src/sna/Makefile.am +++ b/src/sna/Makefile.am @@ -74,7 +74,7 @@ libsna_la_SOURCES = \ gen7_render.h \ $(NULL) -if DRI +if DRI2 libsna_la_SOURCES += \ sna_dri.c \ $(NULL) diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 19413a9c..4c9f298b 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -925,7 +925,7 @@ sna_screen_init(int scrnIndex, ScreenPtr screen, int argc, char **argv) xf86DPMSInit(screen, xf86DPMSSet, 0); sna_video_init(sna, screen); -#ifdef DRI2 +#if USE_DRI2 sna->directRenderingOpen = sna_dri_open(sna, screen); if (sna->directRenderingOpen) xf86DrvMsg(scrn->scrnIndex, X_INFO, |