We don't handle STRETCH_HALFTONE mode yet; make this do the same as
STRETCH_DELETESCANS for now.
This commit is contained in:
parent
481f8ffeba
commit
0f55bdd43b
|
@ -709,6 +709,9 @@ static void BITBLT_StretchImage( XImage *srcImage, XImage *dstImage,
|
||||||
if ((widthSrc < widthDst) && (heightSrc < heightDst))
|
if ((widthSrc < widthDst) && (heightSrc < heightDst))
|
||||||
mode = STRETCH_DELETESCANS;
|
mode = STRETCH_DELETESCANS;
|
||||||
|
|
||||||
|
if (mode == STRETCH_HALFTONE) /* FIXME */
|
||||||
|
mode = STRETCH_DELETESCANS;
|
||||||
|
|
||||||
if (mode != STRETCH_DELETESCANS)
|
if (mode != STRETCH_DELETESCANS)
|
||||||
memset( rowDst, (mode == STRETCH_ANDSCANS) ? 0xff : 0x00,
|
memset( rowDst, (mode == STRETCH_ANDSCANS) ? 0xff : 0x00,
|
||||||
widthDst*sizeof(int) );
|
widthDst*sizeof(int) );
|
||||||
|
|
Loading…
Reference in New Issue