gdiplus: Make GdipCreateFromHDC2 not fail in case of hDevice != NULL.
This commit is contained in:
parent
6ab47275aa
commit
9532de882f
|
@ -2274,10 +2274,8 @@ GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **gra
|
|||
|
||||
TRACE("(%p, %p, %p)\n", hdc, hDevice, graphics);
|
||||
|
||||
if(hDevice != NULL) {
|
||||
if(hDevice != NULL)
|
||||
FIXME("Don't know how to handle parameter hDevice\n");
|
||||
return NotImplemented;
|
||||
}
|
||||
|
||||
if(hdc == NULL)
|
||||
return OutOfMemory;
|
||||
|
|
Loading…
Reference in New Issue