[PATCH] d2d1: Make ID2D1Device::CreateImageBrush() accept only bitmap as a source image.
Nikolay Sivov
nsivov at codeweavers.com
Thu May 19 04:05:10 CDT 2022
On 5/19/22 11:56, Dmitry Timoshkov wrote:
> ID2D1Bitmap derives from ID2D1Image, which in turn derives from ID2D1Resource.
> That means that ID2D1Device::CreateImageBrush() can't be really passed anything
> but a ID2D1Bitmap* represented as a ID2D1Image*.
>
> I've added QueryInterface+FIXME just in case, probably it could be dropped.
Command lists and effects outputs are also ID2D1Image, so it's not
always a bitmap.
More information about the wine-devel
mailing list