From cb9a6592db3fb1f8a9929ea9675e6352701f743a Mon Sep 17 00:00:00 2001 From: Michael Wu Date: Wed, 12 Nov 2014 15:05:14 +0000 Subject: [PATCH] Bug 1082827: Allow D2D 1.1 to be selected for the canvas backend. r=bas --- gfx/thebes/gfxWindowsPlatform.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/thebes/gfxWindowsPlatform.cpp b/gfx/thebes/gfxWindowsPlatform.cpp index b24a41bb527d..2157c5ff98ca 100644 --- a/gfx/thebes/gfxWindowsPlatform.cpp +++ b/gfx/thebes/gfxWindowsPlatform.cpp @@ -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