[PATCH] wined3d: Invalidate INDEXBUFFER device state when contents of bound index buffer is changed.
Henri Verbeet
hverbeet at gmail.com
Fri Oct 28 08:55:31 CDT 2016
On 28 October 2016 at 12:20, Józef Kucia <jkucia at codeweavers.com> wrote:
> + if (buffer->resource.bind_count)
> + {
> + if (buffer->buffer_type_hint == GL_ELEMENT_ARRAY_BUFFER)
> + device_invalidate_state(buffer->resource.device, STATE_INDEXBUFFER);
> + }
You can merge those if-conditions.
What happens exactly that makes this required?
More information about the wine-devel
mailing list