Skip to content
Commit 4cfdd5a1 authored by Andrii Simiklit's avatar Andrii Simiklit Committed by Dylan Baker
Browse files

i965: re-emit index buffer state on a reset option change.



Seems like we forget to update the index buffer (ib) status and
IndexedDrawCutIndexEnable or CutIndexEnable flag is left unchanged it
leads to ignoring of glEnable/glDisable functions for GL_PRIMITIVE_RESTART
in some cases. The index buffer (ib) status should be re-emmited after the
reset option change to avoid some unexpected behavior.

Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109451


Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarAndrii Simiklit <andrii.simiklit@globallogic.com>
Signed-off-by: default avatarAndrii Simiklit <asimiklit.work@gmail.com>
(cherry picked from commit f4f4ec94)
parent 6abb6bd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment