commit | c32a9ec5f5bd74ae03b84be4c51d8d174ddf3e17 | [log] [tgz] |
---|---|---|
author | Juan A. Suarez Romero <jasuarez@igalia.com> | Thu Nov 03 08:56:23 2016 +0100 |
committer | Juan A. Suarez Romero <jasuarez@igalia.com> | Wed Dec 21 12:37:22 2016 +0100 |
tree | 91bd9ed850828f2f07db39a91a66ba93c21ee096 | |
parent | 8801734da701d95608e39d829e0a31a191ee68f2 [diff] |
i965: allow unsourced enabled VAO 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." This commits avoids crashing the code, which is not a very good "undefined result". This fixes spec/!opengl 3.1/vao-broken-attrib piglit test.