d2d1: Create feature level 10.0 device context state objects.
Commit 8c93549262
introduced a feature level
11.0 requirement for Direct2D, but that was unintentional. We want Direct2D to
be usable with feature level 10.0 hardware, and don't actually require any
feature level 11.0 features.
This issue was pointed out by Matteo Bruni.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7afb9b7d0c
commit
7fabf02978
dlls/d2d1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue