[PATCH 7/7] d2d1: Request a feature level 10_0 device context state.

Matteo Bruni mbruni at codeweavers.com
Fri Dec 10 13:03:43 CST 2021


db8169c93c778dafcd35324c1acdc48a9dd99033 accidentally ended up raising
the minimum requirements for d2d to feature level 11_0. We are still
okay with d3d10-level graphics support though, so restore the previous
situation.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
 dlls/d2d1/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d2d1/device.c b/dlls/d2d1/device.c
index 2069eeda0fc..e6b6f9efbea 100644
--- a/dlls/d2d1/device.c
+++ b/dlls/d2d1/device.c
@@ -3863,7 +3863,7 @@ static HRESULT d2d_device_context_init(struct d2d_device_context *render_target,
         { 1.0f, -1.0f},
     };
     static const UINT16 indices[] = {0, 1, 2, 2, 1, 3};
-    static const D3D_FEATURE_LEVEL feature_levels = D3D_FEATURE_LEVEL_11_0;
+    static const D3D_FEATURE_LEVEL feature_levels = D3D_FEATURE_LEVEL_10_0;
 
     render_target->ID2D1DeviceContext_iface.lpVtbl = &d2d_device_context_vtbl;
     render_target->ID2D1GdiInteropRenderTarget_iface.lpVtbl = &d2d_gdi_interop_render_target_vtbl;
-- 
2.26.3




More information about the wine-devel mailing list