[PATCH v2 6/6] wined3d: Store the blend factor in the stateblock as a render state.

Zebediah Figura z.figura12 at gmail.com
Mon Dec 2 09:57:49 CST 2019


On 12/2/19 6:59 AM, Henri Verbeet wrote:
> On Thu, 28 Nov 2019 at 09:24, Zebediah Figura <z.figura12 at gmail.com> wrote:
>> @@ -1921,11 +1904,6 @@ static void state_init_default(struct wined3d_state *state, const struct wined3d
>>
>>      init_default_sampler_states(state->sampler_states);
>>
>> -    state->blend_factor.r = 1.0f;
>> -    state->blend_factor.g = 1.0f;
>> -    state->blend_factor.b = 1.0f;
>> -    state->blend_factor.a = 1.0f;
>> -
> This one should stay, right?
> 

Yep, thanks for catching that. I swear I looked over this several times
to make sure I was only touching the stateblock_state, and I still
missed this :-/



More information about the wine-devel mailing list