mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-14 00:01:20 +00:00
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.
This commit is contained in:
parent
eb63e50d95
commit
e5956f49b2
6 changed files with 55 additions and 21 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue