mesa: Always initialize transform feedback state.
authorChia-I Wu <olv@lunarg.com>
Tue, 6 Jul 2010 08:27:20 +0000 (16:27 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 6 Jul 2010 09:03:32 +0000 (17:03 +0800)
commit32a9b2799e5e1254fdf84af8248ea86e234d6dd4
treed512548a6b2b6bfb0cb6f0bd4e428c3c515b8a66
parentf2aa361f3b58a91780c9358b3f8716f6434074c7
mesa: Always initialize transform feedback state.

Assert ctx->Driver.NewTransformFeedback if the feature is enabled;  Use
the default callbacks otherwise.  The rest of core mesa expects the
state to be initialized.
src/mesa/main/transformfeedback.c
src/mesa/main/transformfeedback.h