xfree86/xv: No need to free composite clip in AdjustFrame
Nothing should change in AdjustFrame that would need the composite clip to be recomputed. Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com> Reviewed-by: Luc Verhaegen <luc.verhaegen@basyskom.de>
This commit is contained in:
parent
6051c7e940
commit
d794be8121
|
@ -1289,12 +1289,6 @@ xf86XVAdjustFrame(int index, int x, int y, int flags)
|
||||||
pPriv = (XvPortRecPrivatePtr)pPort->devPriv.ptr;
|
pPriv = (XvPortRecPrivatePtr)pPort->devPriv.ptr;
|
||||||
|
|
||||||
if(!pPriv->type && (pPriv->isOn != XV_OFF)) { /* overlaid still/image */
|
if(!pPriv->type && (pPriv->isOn != XV_OFF)) { /* overlaid still/image */
|
||||||
|
|
||||||
if(pPriv->pCompositeClip && pPriv->FreeCompositeClip)
|
|
||||||
RegionDestroy(pPriv->pCompositeClip);
|
|
||||||
|
|
||||||
pPriv->pCompositeClip = NULL;
|
|
||||||
|
|
||||||
pWin = (WindowPtr)pPriv->pDraw;
|
pWin = (WindowPtr)pPriv->pDraw;
|
||||||
|
|
||||||
if ((pPriv->AdaptorRec->ReputImage) &&
|
if ((pPriv->AdaptorRec->ReputImage) &&
|
||||||
|
|
Loading…
Reference in New Issue