summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_atom_rasterizer.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-06-01 14:28:57 -0600
committerBrian Paul <brianp@vmware.com>2009-06-01 14:28:57 -0600
commit427554211b5b8ab2c6afcd5bd574ac97fb3457da (patch)
tree8355e7413641ade184a7821b602c8f86ca720342 /src/mesa/state_tracker/st_atom_rasterizer.c
parenta5d033e89bab6c5e913cd2ca17df02e56b5fe31d (diff)
draw: reset extra_vp_outputs.slot to zero in widepoint_flush()
Fixes a crash when clearing the window with a quad after drawing large points. We were asking the draw module how many vertex shader outputs there were and got 3 instead of 2. This led to creating vertices with too many attributes and trying to read invalid memory. We reset extra_vp_outputs.slot to zero in the aaline/aapoint stage's flush functions already. This omission was just an oversight in the wide_point stage.
Diffstat (limited to 'src/mesa/state_tracker/st_atom_rasterizer.c')
0 files changed, 0 insertions, 0 deletions