aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_split_copy.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-03-06 12:08:17 -0700
committerBrian Paul <[email protected]>2013-03-07 06:28:23 -0700
commitc2665aacdd14beec9580246736c602e3ff04d7ae (patch)
treefbaeb53445eba723d4f93ef04a8a04afcbd9cd41 /src/mesa/vbo/vbo_split_copy.c
parent5984a911f9dda3f7421bdec604d30d0dfe2cea5e (diff)
vbo: fix crash found with shared display lists
This fixes a crash when a display list is created in one context but executed from a second one. The vbo_save_context::vertex_store memeber will be NULL if we never created a display list with the context. Just check for that before dereferencing the pointer. Fixes http://bugzilla.redhat.com/show_bug.cgi?id=918661 Note: This is a candidate for the stable branches.
Diffstat (limited to 'src/mesa/vbo/vbo_split_copy.c')
0 files changed, 0 insertions, 0 deletions