merge current trunk into vbo branch

This commit is contained in:
Alan Hourihane
2006-11-02 12:02:13 +00:00
parent 18d52f96bb
commit 6d104cb932
183 changed files with 29335 additions and 1465 deletions

View File

@@ -1003,7 +1003,7 @@ update_color(GLcontext *ctx)
* _mesa_update_lighting() and _mesa_update_tnl_spaces().
*/
void
_mesa_update_state( GLcontext *ctx )
_mesa_update_state_locked( GLcontext *ctx )
{
GLbitfield new_state = ctx->NewState;
@@ -1084,4 +1084,17 @@ _mesa_update_state( GLcontext *ctx )
ctx->Array.NewState = 0;
}
/* This is the usual entrypoint for state updates:
*/
void
_mesa_update_state( GLcontext *ctx )
{
_mesa_lock_context_textures(ctx);
_mesa_update_state_locked(ctx);
_mesa_unlock_context_textures(ctx);
}
/*@}*/