D2DFactory: return raw pointers

See previous commit for details
This commit is contained in:
Luca Bacci 2026-03-10 16:44:50 +01:00
parent ebbc6b1479
commit d7b57cb8d1

View file

@ -124,7 +124,8 @@ _cairo_dwrite_error (HRESULT hr, const char *context)
class D2DFactory
{
public:
static RefPtr<ID2D1Factory> Instance()
static ID2D1Factory *
Instance()
{
/* According to MSDN, using independent, single-threaded D2D1 factories
* in each thread is the most scalable solution.