gdi32: Move CreateDiscardableBitmap implementation to objects.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6b3c811c76
commit
0204ebbc67
|
@ -474,24 +474,6 @@ static INT BITMAP_GetObject( HGDIOBJ handle, INT count, LPVOID buffer )
|
|||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* CreateDiscardableBitmap [GDI32.@]
|
||||
*
|
||||
* Creates a discardable bitmap.
|
||||
*
|
||||
* RETURNS
|
||||
* Success: Handle to bitmap
|
||||
* Failure: NULL
|
||||
*/
|
||||
HBITMAP WINAPI CreateDiscardableBitmap(
|
||||
HDC hdc, /* [in] Handle to device context */
|
||||
INT width, /* [in] Bitmap width */
|
||||
INT height) /* [in] Bitmap height */
|
||||
{
|
||||
return CreateCompatibleBitmap( hdc, width, height );
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* NtGdiGetBitmapDimension (win32u.@)
|
||||
*
|
||||
|
|
|
@ -215,3 +215,13 @@ HBITMAP WINAPI CreateBitmap( INT width, INT height, UINT planes,
|
|||
|
||||
return NtGdiCreateBitmap( width, height, planes, bpp, bits );
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* CreateDiscardableBitmap (GDI32.@)
|
||||
*
|
||||
* Creates a discardable bitmap.
|
||||
*/
|
||||
HBITMAP WINAPI CreateDiscardableBitmap( HDC hdc, INT width, INT height )
|
||||
{
|
||||
return CreateCompatibleBitmap( hdc, width, height );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue