mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-19 08:58:25 +02:00
fb: Call miCompositeSourceValidate() on the source in fbShapes()
Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Soren Sandmann <ssp@redhat.com>
This commit is contained in:
parent
0463506955
commit
1b96a99d8e
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ fbShapes (CompositeShapesFunc composite,
|
|||
int src_xoff, src_yoff;
|
||||
int dst_xoff, dst_yoff;
|
||||
|
||||
miCompositeSourceValidate (pSrc);
|
||||
|
||||
src = image_from_pict (pSrc, FALSE, &src_xoff, &src_yoff);
|
||||
dst = image_from_pict (pDst, TRUE, &dst_xoff, &dst_yoff);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue