summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_texture.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-25 17:24:27 -0600
committerBrian Paul <[email protected]>2009-09-28 09:37:16 -0600
commitc7fddaf6122da489f4430f6bc2211bcb4740f416 (patch)
tree62c7572c755a2fda9b0c34817e3de1be9698efb3 /src/mesa/state_tracker/st_texture.c
parente3a6f57ad6c0e7bda5d45eb146194ed39f45abdd (diff)
st/mesa: fix st_generate_mipmap() issues
The main issue is we didn't always have a gallium texture object with enough space to store the to-be-generated mipmap levels. When that's the case, allocate a new gallium texture and use st_texure_finalize() to copy images from the old texture to the new one. We also had the baseLevel parameter to st_render_mipmap() wrong.
Diffstat (limited to 'src/mesa/state_tracker/st_texture.c')
0 files changed, 0 insertions, 0 deletions