From 3d9a60511779dc7916b2a0be76accb25637d0725 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sat, 2 Nov 2013 18:13:50 +0200 Subject: [PATCH] Gfx: Fix incorrect IID to DWriteCreateFactory (IDWriteFactory instead of IDWriteFactory1) --- Common/Gfx/CanvasD2D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;