On Fri, 13 Mar 2020 at 08:02, Zebediah Figura z.figura12@gmail.com wrote:
@@ -5158,7 +5154,7 @@ void draw_primitive(struct wined3d_device *device, const struct wined3d_state *s if (!(rtv = fb->render_targets[i]) || rtv->format->id == WINED3DFMT_NULL) continue;
if (state->render_states[WINED3D_RS_COLORWRITEENABLE])
if (!state->blend_state || state->blend_state->desc.rt[0].writemask) {
This is mostly an existing issue, but that should probably use "rt[i]" when independent blend states are enabled.