diff options
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, |