mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
replace NtGdiSelectObject with NtGdiSelectBitmap in dibobj.c
svn path=/trunk/; revision=30907
This commit is contained in:
@@ -747,7 +747,7 @@ INT STDCALL NtGdiStretchDIBits(HDC hDC,
|
||||
hdcMem = NtGdiCreateCompatibleDC(hDC);
|
||||
hBitmap = NtGdiCreateCompatibleBitmap(hDC, BitsInfo->bmiHeader.biWidth,
|
||||
BitsInfo->bmiHeader.biHeight);
|
||||
hOldBitmap = NtGdiSelectObject(hdcMem, hBitmap);
|
||||
hOldBitmap = NtGdiSelectBitmap(hdcMem, hBitmap);
|
||||
|
||||
if(Usage == DIB_PAL_COLORS)
|
||||
{
|
||||
@@ -785,7 +785,7 @@ INT STDCALL NtGdiStretchDIBits(HDC hDC,
|
||||
if(hPal)
|
||||
NtUserSelectPalette(hdcMem, hPal, FALSE);
|
||||
|
||||
NtGdiSelectObject(hdcMem, hOldBitmap);
|
||||
NtGdiSelectBitmap(hdcMem, hOldBitmap);
|
||||
NtGdiDeleteObjectApp(hdcMem);
|
||||
NtGdiDeleteObject(hBitmap);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user