mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-16 00:18:05 +02:00
D2DFactory: Remove unused method and member object
This is likely an innocent copy-paste error, you can't get a DWrite factory from a D2D1 factory.
This commit is contained in:
parent
42d5c42297
commit
098ebb9c4e
1 changed files with 0 additions and 11 deletions
|
|
@ -156,19 +156,8 @@ public:
|
|||
return mFactoryInstance;
|
||||
}
|
||||
|
||||
static RefPtr<IDWriteFactory4> Instance4()
|
||||
{
|
||||
if (!mFactoryInstance4) {
|
||||
if (Instance()) {
|
||||
Instance()->QueryInterface(&mFactoryInstance4);
|
||||
}
|
||||
}
|
||||
return mFactoryInstance4;
|
||||
}
|
||||
|
||||
private:
|
||||
static RefPtr<ID2D1Factory> mFactoryInstance;
|
||||
static RefPtr<IDWriteFactory4> mFactoryInstance4;
|
||||
};
|
||||
|
||||
class WICImagingFactory
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue