summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2015-06-10 13:20:59 -0400
committerAdam Jackson <ajax@redhat.com>2015-09-21 12:27:11 -0400
commit67dd34fa734085ed67ba7790820fe4743d48b60f (patch)
tree9c5ef9259bd0179ca9e17f6cdeb7ac9958c8f558 /render
parenta579e6ba7763749d51d16e3a54941e06939df07a (diff)
render: Simplify SProcRenderScale
Since ProcRenderScale throws BadImplementation anyway it's pointless to waste time carefully swapping the request. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'render')
-rw-r--r--render/render.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/render/render.c b/render/render.c
index 88d8a2669..b777991d0 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