summaryrefslogtreecommitdiff
path: root/src/radeon_glamor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_glamor.c')
-rw-r--r--src/radeon_glamor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c
index a354c781..7f1247c9 100644
--- a/src/radeon_glamor.c
+++ b/src/radeon_glamor.c
@@ -323,6 +323,9 @@ radeon_glamor_init(ScreenPtr screen)
ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
if (!glamor_init(screen, GLAMOR_INVERTED_Y_AXIS | GLAMOR_USE_EGL_SCREEN |
+#ifdef GLAMOR_NO_DRI3
+ GLAMOR_NO_DRI3 |
+#endif
GLAMOR_USE_SCREEN | GLAMOR_USE_PICTURE_SCREEN)) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"Failed to initialize glamor.\n");