Don't try to update hardware texture fields if there is no hardware texture.
authorIan Romanick <idr@us.ibm.com>
Thu, 18 Aug 2005 20:01:01 +0000 (20:01 +0000)
committerIan Romanick <idr@us.ibm.com>
Thu, 18 Aug 2005 20:01:01 +0000 (20:01 +0000)
commit61ac29e7c6db3a899edd9d80f8dbbb98fd7ccc90
tree992ddf68267f85cbb05e76bf32f19a0c1cd3b9a6
parentb462855c24dc750b386fbd632b60f3fca3fe7d07
Don't try to update hardware texture fields if there is no hardware texture.
This can happen when all the texture enables for a texture unit are disabled.

This fixes bugzilla #3195.
src/mesa/drivers/dri/i810/i810context.c
src/mesa/drivers/dri/i810/i810tex.c