mesa: fix some potential state-restore issues in pop_texture_group()
authorBrian Paul <brianp@vmware.com>
Thu, 21 May 2009 16:05:04 +0000 (10:05 -0600)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 22 Jun 2009 22:15:19 +0000 (15:15 -0700)
commit19ca5ee1db002db48fd3d2ff665670a9bc8d699b
treeb02cbe19f05b2c4b9ef8971c68d507f0a06fa7e6
parentad0514b24df196e40d5ba7bb41f3bacce0b86a31
mesa: fix some potential state-restore issues in pop_texture_group()

Call the _mesa_set_enable() functions instead of driver functions, etc.

Also, add missing code for 1D/2D texture arrays.
(cherry picked from commit aac19609bfd7c950b2577489b06886c8a8097bb2)
src/mesa/main/attrib.c