diff options
author | Ville Syrjälä <ville.syrjala@nokia.com> | 2010-10-29 18:07:32 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@nokia.com> | 2010-11-26 18:01:05 +0200 |
commit | d794be81218934ad4580211c7a0a27cb71eb5d60 (patch) | |
tree | 42aa44502f5dd9f95a601b5b02a29c472cea5d2f /hw | |
parent | 6051c7e940767b7120ad9c7e9188aee6a6f62b94 (diff) |
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/common/xf86xv.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/xfree86/common/xf86xv.c b/hw/xfree86/common/xf86xv.c index cbbff40ba..59232a85d 100644 --- a/hw/xfree86/common/xf86xv.c +++ b/hw/xfree86/common/xf86xv.c @@ -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) && |