i915: Use _MaxLevel on principle in texture setup.
authorEric Anholt <eric@anholt.net>
Tue, 29 Dec 2009 23:55:34 +0000 (15:55 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 4 Jan 2010 22:15:12 +0000 (14:15 -0800)
commitb434a816d7a4b298e16a8b51b54e5a2d5ea28da8
tree2310d64a12067c61c208b186092610d41b49592d
parent19a26dfc474618ecfe881846a8c9dac221332d44
i915: Use _MaxLevel on principle in texture setup.

It was OK before because we proceed to clamp the value to hardware
limits, but given that other use of MaxLevel has been a trap, let's
avoid it.
src/mesa/drivers/dri/i915/i915_texstate.c