From 66310ea2893811614b3c3aade8992624a95a6ee7 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 8 Nov 2013 09:22:37 -0500 Subject: dri3: Disable when Xinerama is active Pretty sure this can't work. Reviewed-by: Julien Cristau Signed-off-by: Adam Jackson --- dri3/dri3.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dri3') 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); -- cgit v1.2.3