radeon/r200/r300: fix max texture levels assert
authorDave Airlie <airlied@redhat.com>
Fri, 12 Jun 2009 01:35:10 +0000 (11:35 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 12 Jun 2009 01:35:10 +0000 (11:35 +1000)
commita5d92d7ed208d20c788889640503fa61b2d38851
tree0254ffc774a6f1c5ec53adb4f1432b16ed2fe19f
parent7f223ff89172069dbad987f592aea2a8ba16355f
radeon/r200/r300: fix max texture levels assert

use the actual value set in the context
src/mesa/drivers/dri/r300/r300_context.c
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c