diff options
author | Brian Paul <[email protected]> | 2009-09-25 17:24:27 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-28 09:37:16 -0600 |
commit | c7fddaf6122da489f4430f6bc2211bcb4740f416 (patch) | |
tree | 62c7572c755a2fda9b0c34817e3de1be9698efb3 /src/glut/os2/glut_fullscrn.cpp | |
parent | e3a6f57ad6c0e7bda5d45eb146194ed39f45abdd (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/glut/os2/glut_fullscrn.cpp')
0 files changed, 0 insertions, 0 deletions