From 555b5fac4f47576f04d8e4159dc22f72a2b0a397 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Thu, 16 Feb 2006 17:16:33 +0000 Subject: Reinstate vertex format after a rasterization fallback for both r200 and radeon driver when a tcl fallback is active, fixes a blender issue with non-tcl hw (bug #5601) --- src/mesa/drivers/dri/r200/r200_swtcl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/drivers/dri/r200') diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c index 58879a5901..7ab3f7cd03 100644 --- a/src/mesa/drivers/dri/r200/r200_swtcl.c +++ b/src/mesa/drivers/dri/r200/r200_swtcl.c @@ -717,6 +717,9 @@ void r200Fallback( GLcontext *ctx, GLuint bit, GLboolean mode ) * zero above. But not if it doesn't (R200_NO_TCL for * example?) */ + _tnl_invalidate_vertex_state( ctx, ~0 ); + _tnl_invalidate_vertices( ctx, ~0 ); + rmesa->tnl_index = 0; r200ChooseVertexState( ctx ); r200ChooseRenderState( ctx ); } -- cgit v1.2.3