Skip to content

iris: Fix assert when using vertex attrib without buffer binding

The GL 4.5 spec says:
"If any enabled array’s buffer binding is zero when DrawArrays or
one of the other drawing commands defined in section 10.4 is called,
the result is undefined."

The result is undefined but it should not crash.

Fixes: gl-3.1-vao-broken-attrib

Edited by Danylo Piliaiev

Merge request reports