summaryrefslogtreecommitdiff
path: root/dri3/dri3.c
diff options
context:
space:
mode:
Diffstat (limited to 'dri3/dri3.c')
-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);