fix bug with generated fragment programs if vertex shader is active
authorRoland Scheidegger <sroland@tungstengraphics.com>
Fri, 15 Feb 2008 16:26:06 +0000 (17:26 +0100)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Fri, 15 Feb 2008 16:26:06 +0000 (17:26 +0100)
commitbf4a0fafc86bba8dc868cf30244a237e33645164
treecdbfdeb5a1eb60a40312743751cc57c1be54b894
parent83068115e2104b1880431ada96fa37e632149a86
fix bug with generated fragment programs if vertex shader is active

When generating a fragment program from fixed function, checking
texUnit->_ReallyEnabled is not sufficient, need texUnit->Enabled too
since the former also represents texture enables from an active vertex
shader.
src/mesa/main/texenvprogram.c