aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/mi/miinitext.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/mi/miinitext.c')
-rw-r--r--xorg-server/mi/miinitext.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/xorg-server/mi/miinitext.c b/xorg-server/mi/miinitext.c
index 86fc31c99..d95d0210f 100644
--- a/xorg-server/mi/miinitext.c
+++ b/xorg-server/mi/miinitext.c
@@ -112,6 +112,13 @@ SOFTWARE.
#include "micmap.h"
#include "globals.h"
+#ifdef GLXEXT
+typedef struct __GLXprovider __GLXprovider;
+extern __GLXprovider __glXDRISWRastProvider;
+extern void GlxPushProvider(__GLXprovider * impl);
+extern void GlxExtensionInit(INITARGS);
+#endif
+
/* The following is only a small first step towards run-time
* configurable extensions.
*/
@@ -328,6 +335,11 @@ InitExtensions(int argc, char *argv[])
(ext->initFunc) ();
}
}
+#ifdef GLXEXT
+ if (!noGlxExtension)
+ GlxExtensionInit();
+
+#endif
}
static ExtensionModule *