summaryrefslogtreecommitdiff
path: root/GL/mesa
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2006-03-13 01:54:59 +0000
committerKristian Høgsberg <krh@redhat.com>2006-03-13 01:54:59 +0000
commite5956f49b217b0ee9c9f35b6a58f339a8d22b1d7 (patch)
treef878b7a8a9a7aa76aa5c38fa8c7ee451147a6bed /GL/mesa
parenteb63e50d95da4e1e08fc6fcec46ac63d5e3b7bf4 (diff)
First batch of AIGLX fixes from David Reveman.
Add getter for Mesa provider. Export this for Xgl. Move resource tracking out of drawable constructor to allow wrapping. Use corrent reply size #define. Add this function. (DoGetDrawableAttributes): Fix array length.
Diffstat (limited to 'GL/mesa')
-rw-r--r--GL/mesa/X/xf86glx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/GL/mesa/X/xf86glx.c b/GL/mesa/X/xf86glx.c
index b185a958a..34b667088 100644
--- a/GL/mesa/X/xf86glx.c
+++ b/GL/mesa/X/xf86glx.c
@@ -431,3 +431,9 @@ __GLXprovider __glXMesaProvider = {
"MESA",
NULL
};
+
+__GLXprovider *
+GlxGetMesaProvider (void)
+{
+ return &__glXMesaProvider;
+}