summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_tex_sample.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-17 18:52:10 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-12-17 18:52:10 -0700
commitd1c8af7c0a18340fdde45ade6f612939a3c8e62a (patch)
tree71b75df9895ee6f4ca28196a637613e43616bcef /src/gallium/drivers/softpipe/sp_tex_sample.c
parentf0b0794b3885a2fdfb168ec4521c7b5e942d3228 (diff)
gallium: fix memory corruption in u_gen_mipmap.c
Remove the old/initial vbuf allocation in util_create_gen_mipmap(). We were allocating a small vbuf at this point so get_next_slot() didn't have as large of buffer as it expected. So all but the first set_vertex_data() was writing out of bounds. Also added some comments.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_tex_sample.c')
0 files changed, 0 insertions, 0 deletions