mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-14 05:14:45 +00:00
render: use X_REQUEST_*() and X_REPLY_*() macros in ProcRenderQueryFilters()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
fd2f4606c9
commit
e03a2e39ee
1 changed files with 5 additions and 7 deletions
|
|
@ -1496,11 +1496,8 @@ SingleRenderSetPictureTransform(ClientPtr client,
|
|||
static int
|
||||
ProcRenderQueryFilters(ClientPtr client)
|
||||
{
|
||||
REQUEST(xRenderQueryFiltersReq);
|
||||
REQUEST_SIZE_MATCH(xRenderQueryFiltersReq);
|
||||
|
||||
if (client->swapped)
|
||||
swapl(&stuff->drawable);
|
||||
X_REQUEST_HEAD_STRUCT(xRenderQueryFiltersReq);
|
||||
X_REQUEST_FIELD_CARD32(drawable);
|
||||
|
||||
DrawablePtr pDrawable;
|
||||
int nbytesName;
|
||||
|
|
@ -1586,10 +1583,11 @@ ProcRenderQueryFilters(ClientPtr client)
|
|||
for (i = 0; i < nnames; i++) {
|
||||
swaps(&aliases[i]);
|
||||
}
|
||||
swapl(&reply.numAliases);
|
||||
swapl(&reply.numFilters);
|
||||
}
|
||||
|
||||
X_REPLY_FIELD_CARD32(numAliases);
|
||||
X_REPLY_FIELD_CARD32(numFilters);
|
||||
|
||||
return X_SEND_REPLY_WITH_RPCBUF(client, reply, rpcbuf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue