summaryrefslogtreecommitdiff
path: root/GL/glx/glxcmdsswap.c
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/glx/glxcmdsswap.c
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/glx/glxcmdsswap.c')
-rw-r--r--GL/glx/glxcmdsswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/GL/glx/glxcmdsswap.c b/GL/glx/glxcmdsswap.c
index e14106913..a52026f88 100644
--- a/GL/glx/glxcmdsswap.c
+++ b/GL/glx/glxcmdsswap.c
@@ -531,7 +531,7 @@ void __glXSwapGetDrawableAttributesReply(ClientPtr client,
__GLX_SWAP_SHORT(&reply->sequenceNumber);
__GLX_SWAP_INT(&reply->length);
__GLX_SWAP_INT(&reply->numAttribs);
- WriteToClient(client, sz_xGLXQueryContextInfoEXTReply, (char *)reply);
+ WriteToClient(client, sz_xGLXGetDrawableAttributesReply, (char *)reply);
__GLX_SWAP_INT_ARRAY((int *)buf, length);
WriteToClient(client, length << 2, (char *)buf);
}