diff options
author | Brian Paul <brianp@vmware.com> | 2011-02-21 15:11:44 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-02-21 15:15:53 -0700 |
commit | 7dbafea860dace9bfad29760f8b756122bc9937a (patch) | |
tree | d4ca06e655dfa74d6aaa3486a55c03f92b6cddd5 /src/gallium/drivers/i915/i915_resource.c | |
parent | 4cdcec08d14a0709b09dc82a35367b2bcc817957 (diff) |
st/mesa: fix incorrect texture size allocation in st_finalize_texture()
If finalizing a non-POW mipmapped texture with an odd-sized base texture
image we were allocating the wrong size of gallium texture (off by one).
Need to be more careful about computing the base texture image size.
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=34463
Diffstat (limited to 'src/gallium/drivers/i915/i915_resource.c')
0 files changed, 0 insertions, 0 deletions