diff options
author | Brian Paul <[email protected]> | 2009-06-01 14:28:57 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-01 14:28:57 -0600 |
commit | 427554211b5b8ab2c6afcd5bd574ac97fb3457da (patch) | |
tree | 8355e7413641ade184a7821b602c8f86ca720342 /src/gallium/auxiliary/pipebuffer | |
parent | a5d033e89bab6c5e913cd2ca17df02e56b5fe31d (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/gallium/auxiliary/pipebuffer')
0 files changed, 0 insertions, 0 deletions