mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
- Fix bitmap tests.
svn path=/trunk/; revision=38102
This commit is contained in:
parent
8a3fedace3
commit
58d352809d
1 changed files with 2 additions and 2 deletions
|
@ -1019,7 +1019,7 @@ NtGdiStretchDIBitsInternal(
|
||||||
}
|
}
|
||||||
|
|
||||||
hBitmap = NtGdiCreateCompatibleBitmap( hDC,
|
hBitmap = NtGdiCreateCompatibleBitmap( hDC,
|
||||||
BitsInfo->bmiHeader.biWidth,
|
abs(BitsInfo->bmiHeader.biWidth),
|
||||||
abs(BitsInfo->bmiHeader.biHeight));
|
abs(BitsInfo->bmiHeader.biHeight));
|
||||||
if (hBitmap == NULL)
|
if (hBitmap == NULL)
|
||||||
{
|
{
|
||||||
|
@ -1532,7 +1532,7 @@ DIB_CreateDIBSection(
|
||||||
*bits = bm.bmBits;
|
*bits = bm.bmBits;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (res) pDc_Attr->ulDirty_ |= DC_DIBSECTION;
|
// if (res) pDc_Attr->ulDirty_ |= DC_DIBSECTION;
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue