mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-06 08:08:06 +02:00
from davidr's tree update some fixes
This commit is contained in:
parent
c88a3145d0
commit
7fb521e80d
1 changed files with 13 additions and 5 deletions
|
|
@ -41,11 +41,19 @@ xglCopy (DrawablePtr pSrc,
|
|||
if (!nBox)
|
||||
return TRUE;
|
||||
|
||||
if (!xglPrepareTarget (pDst))
|
||||
return FALSE;
|
||||
|
||||
if (!xglSyncSurface (pSrc))
|
||||
return FALSE;
|
||||
if (xglPrepareTarget (pDst))
|
||||
{
|
||||
if (!xglSyncSurface (pSrc))
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!xglPrepareTarget (pSrc))
|
||||
return FALSE;
|
||||
|
||||
if (!xglSyncSurface (pDst))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
XGL_GET_DRAWABLE (pSrc, src, srcXoff, srcYoff);
|
||||
XGL_GET_DRAWABLE (pDst, dst, dstXoff, dstYoff);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue