st/mesa: check texture target in allocate_full_mipmap()
authorBrian Paul <brianp@vmware.com>
Thu, 17 Dec 2015 21:16:24 +0000 (14:16 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 6 Jan 2016 22:53:47 +0000 (15:53 -0700)
commit18038b9fd6792be794ae1be80e006542be602b2a
tree614b78f60e05f29152a94ed615c6e8c4e8ddac2a
parentc032ae85ee1581870a34f5faad76e5b7ddaf4090
st/mesa: check texture target in allocate_full_mipmap()

Some kinds of textures never have mipmaps.  3D textures seldom have
mipmaps.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_cb_texture.c