From d7b57cb8d1e6af5e78b2361691bb9d14575d1bd3 Mon Sep 17 00:00:00 2001 From: Luca Bacci Date: Tue, 10 Mar 2026 16:44:50 +0100 Subject: [PATCH] D2DFactory: return raw pointers See previous commit for details --- src/win32/cairo-dwrite-font.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/win32/cairo-dwrite-font.cpp b/src/win32/cairo-dwrite-font.cpp index ad1d45868..0c54153cf 100644 --- a/src/win32/cairo-dwrite-font.cpp +++ b/src/win32/cairo-dwrite-font.cpp @@ -124,7 +124,8 @@ _cairo_dwrite_error (HRESULT hr, const char *context) class D2DFactory { public: - static RefPtr Instance() + static ID2D1Factory * + Instance() { /* According to MSDN, using independent, single-threaded D2D1 factories * in each thread is the most scalable solution.