28 May
2024
28 May
'24
8:27 p.m.
Jan Sikorski (@jsikorski) commented about dlls/wined3d/cs.c:
if (state->primitive_type == WINED3D_PT_POINTLIST || op->primitive_type == WINED3D_PT_POINTLIST) device_invalidate_state(cs->c.device, STATE_POINT_ENABLE); state->primitive_type = op->primitive_type; + for (i = 0; i < device->context_count; ++i) + device->contexts[i]->update_primitive_type = true;
Just a nit, but it's a bit inconsistent that we're saying `true` here but `1` and `0` elsewhere. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5344#note_66115