st/mesa: check gl_texture_object::GenerateMipmap field when allocating texmem
authorBrian Paul <brianp@vmware.com>
Mon, 28 Sep 2009 16:03:58 +0000 (10:03 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 28 Sep 2009 16:03:58 +0000 (10:03 -0600)
commit05bad193f56d48384097e37e47fae3fdda85f144
tree47f275e19137019b2561020f57eb833074d02ec0
parent8fda97afb8b7a03415dbca6d83691d2d6461126c
st/mesa: check gl_texture_object::GenerateMipmap field when allocating texmem

In guess_and_alloc_texture() use the gl_texture_object::GenerateMipmap
field as another hint as to whether to allocate space for a whole mipmap.
src/mesa/state_tracker/st_cb_texture.c