Skip to content
Snippets Groups Projects
Commit 0f55bdd4 authored by Huw D. M. Davies's avatar Huw D. M. Davies Committed by Alexandre Julliard
Browse files

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

STRETCH_DELETESCANS for now.
parent 481f8ffe
No related branches found
No related tags found
No related merge requests found
......@@ -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) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment