mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Gfx: Fix incorrect IID to DWriteCreateFactory (IDWriteFactory instead of IDWriteFactory1)
This commit is contained in:
parent
177d305e58
commit
3d9a605117
@ -91,7 +91,7 @@ bool CanvasD2D::Initialize()
|
|||||||
|
|
||||||
hr = DWriteCreateFactory(
|
hr = DWriteCreateFactory(
|
||||||
DWRITE_FACTORY_TYPE_SHARED,
|
DWRITE_FACTORY_TYPE_SHARED,
|
||||||
__uuidof(IDWriteFactory),
|
__uuidof(c_DWFactory),
|
||||||
(IUnknown**)c_DWFactory.GetAddressOf());
|
(IUnknown**)c_DWFactory.GetAddressOf());
|
||||||
if (FAILED(hr)) return false;
|
if (FAILED(hr)) return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user