summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_rendertmp.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-13 08:11:01 -0700
committerBrian Paul <[email protected]>2009-02-13 08:11:01 -0700
commitac53b1b0345f10f988c412af528bfd38052acab5 (patch)
treec4bc4288550e7b0c5eee429587aaac6ce33aa2b1 /src/mesa/tnl/t_vb_rendertmp.h
parent6559107c7ae67ae6a94f53728cad85137aaf6312 (diff)
mesa: check if TNL state is null in _tnl_free_vertices() to avoid potential segfault
_tnl_free_vertices() is called from several places during context tear-down. Depending on the order in which the swrast, swrast_setup and tnl context is destroyed we could hit a null pointer here. This doesn't seem to be an actual issue with any Mesa drivers, but let's be safe.
Diffstat (limited to 'src/mesa/tnl/t_vb_rendertmp.h')
0 files changed, 0 insertions, 0 deletions