On 28 October 2016 at 12:20, Józef Kucia jkucia@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?