mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -1289,12 +1289,6 @@ xf86XVAdjustFrame(int index, int x, int y, int flags)
|
||||
pPriv = (XvPortRecPrivatePtr)pPort->devPriv.ptr;
|
||||
|
||||
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;
|
||||
|
||||
if ((pPriv->AdaptorRec->ReputImage) &&
|
||||
|
||||
Reference in New Issue
Block a user