swrast: update program type assertion
authorBrian Paul <brianp@vmware.com>
Fri, 4 Nov 2011 01:56:51 +0000 (19:56 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 7 Nov 2011 21:25:47 +0000 (14:25 -0700)
commitb64dc2a275714ae67c735298d8104ff292c60edf
treea5a573b6c1c9c6bf4fcaeec2721f9ef1ca70b06d
parentaf734468fee1e1fc0714557ddd199e2f91940afc
swrast: update program type assertion

Fixes bogus failed assertion when using NV_fragment_program, such
as with demos/fplight.c

Note: This is a candidate for the 7.11 branch.
src/mesa/swrast/s_context.c