diff options
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r-- | src/mesa/main/state.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index c3193c8cda0..55eba1e9036 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -2,7 +2,7 @@ * Mesa 3-D graphics library * Version: 6.3 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -935,20 +935,21 @@ update_program(GLcontext *ctx) } -/* +/** * If __GLcontextRec::NewState is non-zero then this function \b must be called * before rendering any primitive. Basically, function pointers and * miscellaneous flags are updated to reflect the current state of the state * machine. * - * Calls dd_function_table::UpdateState to perform any internal state management - * necessary. + * Calls dd_function_table::UpdateState to perform any internal state + * management necessary. * * \sa _mesa_update_modelview_project(), _mesa_update_texture(), - * _mesa_update_buffers(), _mesa_update_polygon(), _mesa_update_lighting() and - * _mesa_update_tnl_spaces(). + * _mesa_update_buffer_bounds(), _mesa_update_polygon(), + * _mesa_update_lighting() and _mesa_update_tnl_spaces(). */ -void _mesa_update_state( GLcontext *ctx ) +void +_mesa_update_state( GLcontext *ctx ) { GLuint new_state = ctx->NewState; @@ -965,7 +966,7 @@ void _mesa_update_state( GLcontext *ctx ) _mesa_update_texture( ctx, new_state ); if (new_state & (_NEW_SCISSOR|_NEW_BUFFERS)) - _mesa_update_buffers( ctx ); + _mesa_update_draw_buffer_bounds( ctx ); if (new_state & _NEW_POLYGON) _mesa_update_polygon( ctx ); |