diff options
author | Brian Paul <[email protected]> | 2008-12-17 18:52:10 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-17 19:05:14 -0700 |
commit | b890fffbf4ad435ef533988d288e98b0bfe4d17b (patch) | |
tree | 19cb11fbb1b42c74a4551b3e48ae2fd1ad1f9f6d /src/mesa/main/drawpix.h | |
parent | 947d04d08bead28c43f525ea4c1d99a039bed047 (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/mesa/main/drawpix.h')
0 files changed, 0 insertions, 0 deletions