Commit 0f55bdd4 authored by Huw D M Davies's avatar Huw D M Davies Committed by Alexandre Julliard

We don't handle STRETCH_HALFTONE mode yet; make this do the same as

STRETCH_DELETESCANS for now.
parent 481f8ffe
......@@ -709,6 +709,9 @@ static void BITBLT_StretchImage( XImage *srcImage, XImage *dstImage,
if ((widthSrc < widthDst) && (heightSrc < heightDst))
mode = STRETCH_DELETESCANS;
if (mode == STRETCH_HALFTONE) /* FIXME */
mode = STRETCH_DELETESCANS;
if (mode != STRETCH_DELETESCANS)
memset( rowDst, (mode == STRETCH_ANDSCANS) ? 0xff : 0x00,
widthDst*sizeof(int) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment