[PATCH] d3d11: Correctly handle optional arguments in OMGetBlendState().

Henri Verbeet hverbeet at gmail.com
Mon Nov 1 09:20:38 CDT 2021


On Mon, 25 Oct 2021 at 12:10, Nikolay Sivov <nsivov at codeweavers.com> wrote:
> @@ -2190,20 +2190,26 @@ static void STDMETHODCALLTYPE d3d11_device_context_OMGetBlendState(ID3D11DeviceC
>      struct d3d11_device_context *context = impl_from_ID3D11DeviceContext1(iface);
>      struct wined3d_blend_state *wined3d_state;
>      struct d3d_blend_state *blend_state_impl;
> +    FLOAT tmp_blend_factor[4];
> +    UINT tmp_sample_mask;
>
I'd rather remove the existing FLOATs and UINTs than add more...



More information about the wine-devel mailing list