[PATCH] render: Simplify SProcRenderScale
Adam Jackson
ajax at redhat.com
Wed Jun 10 10:20:59 PDT 2015
Since ProcRenderScale throws BadImplementation anyway it's pointless to
waste time carefully swapping the request.
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
render/render.c | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/render/render.c b/render/render.c
index 88d8a26..b777991 100644
--- a/render/render.c
+++ b/render/render.c
@@ -2099,20 +2099,7 @@ SProcRenderComposite(ClientPtr client)
static int
SProcRenderScale(ClientPtr client)
{
- REQUEST(xRenderScaleReq);
- REQUEST_SIZE_MATCH(xRenderScaleReq);
- swaps(&stuff->length);
- swapl(&stuff->src);
- swapl(&stuff->dst);
- swapl(&stuff->colorScale);
- swapl(&stuff->alphaScale);
- swaps(&stuff->xSrc);
- swaps(&stuff->ySrc);
- swaps(&stuff->xDst);
- swaps(&stuff->yDst);
- swaps(&stuff->width);
- swaps(&stuff->height);
- return (*ProcRenderVector[stuff->renderReqType]) (client);
+ return BadImplementation;
}
static int
--
2.4.1
More information about the xorg-devel
mailing list