mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
Patch by Sebastiaan Roodenburg. Fixes problem in NtGdiStrechBlt.
svn path=/trunk/; revision=20946
This commit is contained in:
parent
ff0bdc14d4
commit
74bf31b2b2
1 changed files with 10 additions and 8 deletions
|
@ -1274,18 +1274,20 @@ NtUserPaintDesktop(HDC hDC)
|
|||
|
||||
if (WinSta->WallpaperMode == wmStretch)
|
||||
{
|
||||
NtGdiStretchBlt(hDC,
|
||||
x,
|
||||
y,
|
||||
Rect.right,
|
||||
Rect.bottom,
|
||||
hWallpaperDC,
|
||||
0,
|
||||
0,
|
||||
if(Rect.right && Rect.bottom)
|
||||
NtGdiStretchBlt(hDC,
|
||||
x,
|
||||
y,
|
||||
sz.cx,
|
||||
sz.cy,
|
||||
hWallpaperDC,
|
||||
0,
|
||||
0,
|
||||
WinSta->cxWallpaper,
|
||||
WinSta->cyWallpaper,
|
||||
SRCCOPY,
|
||||
0);
|
||||
|
||||
}
|
||||
else if (WinSta->WallpaperMode == wmTile)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue