mesa: fix fixed-function test in get_fp_input_mask() - again.
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 17 Dec 2008 21:04:03 +0000 (14:04 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 17 Dec 2008 21:04:03 +0000 (14:04 -0700)
commitf0b0794b3885a2fdfb168ec4521c7b5e942d3228
tree3cba7a8e4d3fa965480e9d1da9a05272ff880276
parent1519b93b7bc519e187d98f99715a01ba866286b1
mesa: fix fixed-function test in get_fp_input_mask() - again.

The problem we're solving only occured when there was a user-defined
vertex shader but no fragment shader.  Check for that case now.
Fixes glean api2 vertex array failure.
src/mesa/main/texenvprogram.c