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

STRETCH_DELETESCANS for now.
This commit is contained in:
Huw D M Davies 2002-04-09 01:34:06 +00:00 committed by Alexandre Julliard
parent 481f8ffeba
commit 0f55bdd43b

View file

@ -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) );