composite: Remove duplicate window pixmap fetch
There's nothing between the previous fetch and this one that could cause the window pixmap to have changed. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
07b03e721e
commit
04e320a4e4
|
@ -475,7 +475,6 @@ compCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
|
||||||
* need to be copied to pNewPixmap.
|
* need to be copied to pNewPixmap.
|
||||||
*/
|
*/
|
||||||
RegionRec rgnDst;
|
RegionRec rgnDst;
|
||||||
PixmapPtr pPixmap = (*pScreen->GetWindowPixmap) (pWin);
|
|
||||||
GCPtr pGC;
|
GCPtr pGC;
|
||||||
|
|
||||||
dx = ptOldOrg.x - pWin->drawable.x;
|
dx = ptOldOrg.x - pWin->drawable.x;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user