gdi32: Fallback to StretchDIBits if the driver doesn't support
BitBlt
Alexandre Julliard
julliard at winehq.org
Thu Feb 23 05:20:38 CST 2006
Huw D M Davies <h.davies1 at 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 at winehq.org
More information about the wine-devel
mailing list