gdi32: Move a couple of TRACEs to the beginning of functions.
This commit is contained in:
parent
4d1cf9c8c4
commit
68420896eb
|
@ -65,6 +65,9 @@ BOOL WINAPI BitBlt( HDC hdcDst, INT xDst, INT yDst, INT width,
|
|||
BOOL ret = FALSE;
|
||||
DC *dcDst, *dcSrc;
|
||||
|
||||
TRACE("hdcSrc=%p %d,%d -> hdcDest=%p %d,%d %dx%d rop=%06x\n",
|
||||
hdcSrc, xSrc, ySrc, hdcDst, xDst, yDst, width, height, rop);
|
||||
|
||||
if (!(dcDst = get_dc_ptr( hdcDst ))) return FALSE;
|
||||
|
||||
if (dcDst->funcs->pBitBlt)
|
||||
|
@ -72,8 +75,6 @@ BOOL WINAPI BitBlt( HDC hdcDst, INT xDst, INT yDst, INT width,
|
|||
update_dc( dcDst );
|
||||
dcSrc = get_dc_ptr( hdcSrc );
|
||||
if (dcSrc) update_dc( dcSrc );
|
||||
TRACE("hdcSrc=%p %d,%d -> hdcDest=%p %d,%d %dx%d rop=%06x\n",
|
||||
hdcSrc, xSrc, ySrc, hdcDst, xDst, yDst, width, height, rop);
|
||||
|
||||
ret = dcDst->funcs->pBitBlt( dcDst->physDev, xDst, yDst, width, height,
|
||||
dcSrc ? dcSrc->physDev : NULL, xSrc, ySrc, rop );
|
||||
|
@ -143,6 +144,11 @@ BOOL WINAPI StretchBlt( HDC hdcDst, INT xDst, INT yDst,
|
|||
BOOL ret = FALSE;
|
||||
DC *dcDst, *dcSrc;
|
||||
|
||||
TRACE("%p %d,%d %dx%d -> %p %d,%d %dx%d rop=%06x\n",
|
||||
hdcSrc, xSrc, ySrc, widthSrc, heightSrc,
|
||||
hdcDst, xDst, yDst, widthDst, heightDst, rop );
|
||||
|
||||
|
||||
if (!(dcDst = get_dc_ptr( hdcDst ))) return FALSE;
|
||||
|
||||
if (dcDst->funcs->pStretchBlt)
|
||||
|
@ -152,10 +158,6 @@ BOOL WINAPI StretchBlt( HDC hdcDst, INT xDst, INT yDst,
|
|||
update_dc( dcDst );
|
||||
update_dc( dcSrc );
|
||||
|
||||
TRACE("%p %d,%d %dx%d -> %p %d,%d %dx%d rop=%06x\n",
|
||||
hdcSrc, xSrc, ySrc, widthSrc, heightSrc,
|
||||
hdcDst, xDst, yDst, widthDst, heightDst, rop );
|
||||
|
||||
ret = dcDst->funcs->pStretchBlt( dcDst->physDev, xDst, yDst, widthDst, heightDst,
|
||||
dcSrc->physDev, xSrc, ySrc, widthSrc, heightSrc,
|
||||
rop );
|
||||
|
|
Loading…
Reference in New Issue