mesa: remove rgbMode check in enable_texture()
authorBrian Paul <brianp@vmware.com>
Thu, 24 Sep 2009 20:19:06 +0000 (14:19 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 24 Sep 2009 20:19:06 +0000 (14:19 -0600)
commitadfa778c8ea436d6e62c37327b44f6ff359ed63f
treedefa4e0cc86d7d5b5f8651b242ed75dc346a0563
parent2acd5de22651a3461c0576107c8e8fab1f01469a
mesa: remove rgbMode check in enable_texture()

If the currently bound FBO isn't yet validated it's possible for
rgbMode to be zero so we'll lose the texture enable.
This could fix some FBO rendering glitches, but I don't know of
any specific instances.
src/mesa/main/enable.c