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.
1 file changed