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)

This commit is contained in:
Roland Scheidegger 2006-02-16 17:16:33 +00:00
parent a176bc6c17
commit 555b5fac4f
2 changed files with 6 additions and 0 deletions

View file

@ -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 );
}

View file

@ -936,6 +936,9 @@ void radeonFallback( GLcontext *ctx, GLuint bit, GLboolean mode )
* zero above. But not if it doesn't (RADEON_NO_TCL for
* example?)
*/
_tnl_invalidate_vertex_state( ctx, ~0 );
_tnl_invalidate_vertices( ctx, ~0 );
rmesa->tnl_index = 0;
radeonChooseVertexState( ctx );
radeonChooseRenderState( ctx );
}