mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-22 01:20:26 +00:00
VERIFY_PICTURE always returns BadPicture. Don't bother specifying.
Same goes for VERIFY_ALPHA, VERIFY_XIN_PICTURE, and VERIFY_XIN_ALPHA. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
35761d5f81
commit
c677fc611b
4 changed files with 53 additions and 98 deletions
|
|
@ -622,8 +622,7 @@ static int dmxProcRenderSetPictureTransform(ClientPtr client)
|
|||
REQUEST(xRenderSetPictureTransformReq);
|
||||
|
||||
REQUEST_SIZE_MATCH(xRenderSetPictureTransformReq);
|
||||
VERIFY_PICTURE(pPicture, stuff->picture, client, DixWriteAccess,
|
||||
RenderErrBase + BadPicture);
|
||||
VERIFY_PICTURE(pPicture, stuff->picture, client, DixWriteAccess);
|
||||
|
||||
/* For the following to work with PanoramiX, it assumes that Render
|
||||
* wraps the ProcRenderVector after dmxRenderInit has been called.
|
||||
|
|
@ -663,8 +662,7 @@ static int dmxProcRenderSetPictureFilter(ClientPtr client)
|
|||
REQUEST(xRenderSetPictureFilterReq);
|
||||
|
||||
REQUEST_AT_LEAST_SIZE(xRenderSetPictureFilterReq);
|
||||
VERIFY_PICTURE(pPicture, stuff->picture, client, DixWriteAccess,
|
||||
RenderErrBase + BadPicture);
|
||||
VERIFY_PICTURE(pPicture, stuff->picture, client, DixWriteAccess);
|
||||
|
||||
/* For the following to work with PanoramiX, it assumes that Render
|
||||
* wraps the ProcRenderVector after dmxRenderInit has been called.
|
||||
|
|
|
|||
Loading…
Reference in a new issue