dwrite: Fix IDWriteFont3 QueryInterface to respond to its own IID.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9d0bbb1364
commit
e7667fa2b7
|
@ -1243,7 +1243,8 @@ static HRESULT WINAPI dwritefont_QueryInterface(IDWriteFont3 *iface, REFIID riid
|
||||||
|
|
||||||
TRACE("(%p)->(%s %p)\n", This, debugstr_guid(riid), obj);
|
TRACE("(%p)->(%s %p)\n", This, debugstr_guid(riid), obj);
|
||||||
|
|
||||||
if (IsEqualIID(riid, &IID_IDWriteFont2) ||
|
if (IsEqualIID(riid, &IID_IDWriteFont3) ||
|
||||||
|
IsEqualIID(riid, &IID_IDWriteFont2) ||
|
||||||
IsEqualIID(riid, &IID_IDWriteFont1) ||
|
IsEqualIID(riid, &IID_IDWriteFont1) ||
|
||||||
IsEqualIID(riid, &IID_IDWriteFont) ||
|
IsEqualIID(riid, &IID_IDWriteFont) ||
|
||||||
IsEqualIID(riid, &IID_IUnknown))
|
IsEqualIID(riid, &IID_IUnknown))
|
||||||
|
|
Loading…
Reference in New Issue