summaryrefslogtreecommitdiffstats
path: root/src/intel/isl
diff options
context:
space:
mode:
authorOlivier Lauffenburger <[email protected]>2017-07-06 09:45:00 -0600
committerBrian Paul <[email protected]>2017-07-07 12:22:34 -0600
commitf5c8bb1e00f358e05ed21f8ed69c9fc3803bf95f (patch)
treefbee0141a92e05c7da1c3e69271a9257122f5ebe /src/intel/isl
parent1d0bdfb56d77e50f2c3d822220fc906cffd5ebb9 (diff)
vbo: fix glPrimitiveRestartNV crash inside a display list
glPrimitiveRestartNV crashes when it is called during the compilation of a display list. There are two reasons: - ctx->Driver.CurrentSavePrimitive is not set to the current primitive - save_PrimitiveRestartNV() calls _save_Begin() which only sets an OpenGL error, instead of calling vbo_save_NotifyBegin(). This patch correctly calls vbo_save_NotifyBegin() but it detects the current primitive mode by looking at the latest saved primitive. Additional work by Brian Paul Signed-off-by: Olivier Lauffenburger <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101464 Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/intel/isl')
0 files changed, 0 insertions, 0 deletions