Gfx: Fix incorrect IID to DWriteCreateFactory (IDWriteFactory instead of IDWriteFactory1)

This commit is contained in:
Birunthan Mohanathas 2013-11-02 18:13:50 +02:00
parent 177d305e58
commit 3d9a605117

View File

@ -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;