summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_resource.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-02-21 15:11:44 -0700
committerBrian Paul <brianp@vmware.com>2011-02-21 15:15:53 -0700
commit7dbafea860dace9bfad29760f8b756122bc9937a (patch)
treed4ca06e655dfa74d6aaa3486a55c03f92b6cddd5 /src/gallium/drivers/i915/i915_resource.c
parent4cdcec08d14a0709b09dc82a35367b2bcc817957 (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