mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1376026 - assume DWrite is available on Windows 7 even without the platform update. r=jrmuizel
This commit is contained in:
parent
eb904f98f1
commit
901f5815e8
@ -388,12 +388,6 @@ gfxWindowsPlatform::CanUseHardwareVideoDecoding()
|
||||
bool
|
||||
gfxWindowsPlatform::InitDWriteSupport()
|
||||
{
|
||||
// DWrite is only supported on Windows 7 with the platform update and higher.
|
||||
// We check this by seeing if D2D1 support is available.
|
||||
if (!Factory::SupportsD2D1()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
mozilla::ScopedGfxFeatureReporter reporter("DWrite");
|
||||
decltype(DWriteCreateFactory)* createDWriteFactory = (decltype(DWriteCreateFactory)*)
|
||||
GetProcAddress(LoadLibraryW(L"dwrite.dll"), "DWriteCreateFactory");
|
||||
|
Loading…
Reference in New Issue
Block a user