summaryrefslogtreecommitdiff
path: root/dri3
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2013-11-08 09:22:37 -0500
committerAdam Jackson <ajax@redhat.com>2013-12-09 13:20:36 -0500
commit66310ea2893811614b3c3aade8992624a95a6ee7 (patch)
treebf53de76195d822dd7c28f7c98558b39185cea9a /dri3
parent793fd5eefb0e417614d77fe1522c6548587fbd4e (diff)
dri3: Disable when Xinerama is active
Pretty sure this can't work. Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'dri3')
-rw-r--r--dri3/dri3.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dri3/dri3.c b/dri3/dri3.c
index 2bca7ae9b..76e07b40e 100644
--- a/dri3/dri3.c
+++ b/dri3/dri3.c
@@ -68,6 +68,11 @@ dri3_extension_init(void)
ExtensionEntry *extension;
int i;
+#ifdef PANORAMIX
+ if (!noPanoramiXExtension)
+ return;
+#endif
+
extension = AddExtension(DRI3_NAME, DRI3NumberEvents, DRI3NumberErrors,
proc_dri3_dispatch, sproc_dri3_dispatch,
NULL, StandardMinorOpcode);