mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
set and restore mode
This commit is contained in:
parent
f2bee3d0d2
commit
c0d8c77f90
@ -835,7 +835,11 @@ BOOL WINAPI fake_WinGStretchBlt(
|
|||||||
int wSrc,
|
int wSrc,
|
||||||
int hSrc)
|
int hSrc)
|
||||||
{
|
{
|
||||||
return fake_StretchBlt(hdcDest, xDest, yDest, wDest, hDest, hdcSrc, xSrc, ySrc, wSrc, hSrc, SRCCOPY);
|
int mode = SetStretchBltMode(hdcDest, COLORONCOLOR);
|
||||||
|
BOOL result = fake_StretchBlt(hdcDest, xDest, yDest, wDest, hDest, hdcSrc, xSrc, ySrc, wSrc, hSrc, SRCCOPY);
|
||||||
|
SetStretchBltMode(hdcDest, mode);
|
||||||
|
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL WINAPI fake_BitBlt(
|
BOOL WINAPI fake_BitBlt(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user