28 Oct
2016
28 Oct
'16
1:55 p.m.
On 28 October 2016 at 12:20, Józef Kucia <jkucia(a)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?