Bug 1082827: Allow D2D 1.1 to be selected for the canvas backend. r=bas

This commit is contained in:
Michael Wu 2014-11-12 15:05:14 +00:00
parent 725f7cbb33
commit b1eff34262

View File

@ -482,6 +482,7 @@ gfxWindowsPlatform::UpdateRenderMode()
#ifdef USE_D2D1_1
if (gfxPrefs::Direct2DUse1_1() && Factory::SupportsD2D1()) {
contentMask |= BackendTypeBit(BackendType::DIRECT2D1_1);
canvasMask |= BackendTypeBit(BackendType::DIRECT2D1_1);
defaultBackend = BackendType::DIRECT2D1_1;
} else {
#endif