Huw D M Davies <h.davies1(a)physics.ox.ac.uk> writes:
> + if ((dcSrc = DC_GetDCUpdate( hdcSrc )))
> + {
> + dcDst = DC_GetDCPtr( hdcDst );
> + TRACE("hdcSrc=%p %d,%d -> hdcDest=%p %d,%d %dx%d rop=%06lx\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 );
This is wrong, dcSrc doesn't always need to be valid for BitBlt.
--
Alexandre Julliard
julliard(a)winehq.org