Use texture->first_level, not 0, when not mipmapping.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 28 Sep 2007 19:49:50 +0000 (13:49 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 28 Sep 2007 21:39:39 +0000 (15:39 -0600)
commitf14ece2d2c9add5ebf21171746f34ce60ff0df3b
tree432c296d54f9c7296300ceafc7e12d3dfc4ac23c
parentf971bdc051a4e965e036f575ca0c93b64a817761
Use texture->first_level, not 0, when not mipmapping.

Fixes crash when GL_BASE_LEVEL!=0.
Also, remove old assertion.
src/mesa/pipe/softpipe/sp_tex_sample.c