mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 10:12:01 +00:00
Prevent a crash with a BadDrawable X error message with some MaskBlt
calls.
This commit is contained in:
parent
fc60c1e195
commit
47d64a0459
@ -1504,9 +1504,10 @@ static BOOL BITBLT_InternalStretchBlt( X11DRV_PDEVICE *physDevDst, INT xDst, INT
|
|||||||
case OP_ARGS(SRC,DST):
|
case OP_ARGS(SRC,DST):
|
||||||
case OP_ARGS(TMP,SRC):
|
case OP_ARGS(TMP,SRC):
|
||||||
case OP_ARGS(TMP,DST):
|
case OP_ARGS(TMP,DST):
|
||||||
XCopyArea( gdi_display, pixmaps[OP_SRC(*opcode)],
|
if (useSrc)
|
||||||
pixmaps[OP_DST(*opcode)], tmpGC,
|
XCopyArea( gdi_display, pixmaps[OP_SRC(*opcode)],
|
||||||
0, 0, width, height, 0, 0 );
|
pixmaps[OP_DST(*opcode)], tmpGC,
|
||||||
|
0, 0, width, height, 0, 0 );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OP_ARGS(PAT,TMP):
|
case OP_ARGS(PAT,TMP):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user