diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2014-03-20 11:53:16 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2014-03-25 15:13:49 -0700 |
commit | 1afe3359258a9e89b62c8638761f52d78f6d1cbc (patch) | |
tree | 21397d4cbd87f963e5757205ef230ba2f2b96aae /src/mesa/drivers/dri/i965/gen8_draw_upload.c | |
parent | 29bcc73d4db639681f679b43075798c78f268ebf (diff) | |
download | external_mesa3d-1afe3359258a9e89b62c8638761f52d78f6d1cbc.zip external_mesa3d-1afe3359258a9e89b62c8638761f52d78f6d1cbc.tar.gz external_mesa3d-1afe3359258a9e89b62c8638761f52d78f6d1cbc.tar.bz2 |
mesa: In core profile, refuse to draw unless a VAO is bound.
Core profile requires a non-default VAO to be bound. Currently, calls
to glVertexAttribPointer raise INVALID_OPERATION unless a VAO is bound,
and we never actually get any vertex data set. Trying to draw without
any vertex data can only cause problems. In i965, it causes a crash.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76400
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen8_draw_upload.c')
0 files changed, 0 insertions, 0 deletions