mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-16 09:38:05 +02:00
D2DFactory: return raw pointers
See previous commit for details
This commit is contained in:
parent
ebbc6b1479
commit
d7b57cb8d1
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue