diff --git a/Common/Gfx/CanvasD2D.cpp b/Common/Gfx/CanvasD2D.cpp index 1a09f401..e8ecf6d1 100644 --- a/Common/Gfx/CanvasD2D.cpp +++ b/Common/Gfx/CanvasD2D.cpp @@ -91,7 +91,7 @@ bool CanvasD2D::Initialize() hr = DWriteCreateFactory( DWRITE_FACTORY_TYPE_SHARED, - __uuidof(IDWriteFactory), + __uuidof(c_DWFactory), (IUnknown**)c_DWFactory.GetAddressOf()); if (FAILED(hr)) return false;