summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-07-23 21:21:30 +0000
committerBrian Paul <[email protected]>2003-07-23 21:21:30 +0000
commit9c7b81697b2a381d7083e8e4c52f919f36ea9fa1 (patch)
tree543f603401c794bcdbab467a782eba4a817cdc34 /src/mesa/main/state.c
parent9f9bed9c8ea8a1baa922320debbf04128b2b58de (diff)
fix a few more glitches from last big check-in
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 2683556f02a..b8eb080f6a2 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -731,13 +731,6 @@ _mesa_init_exec_table(struct _glapi_table *exec, GLuint tableSize)
/*@{*/
-
-
-
-
-
-
-
/*
* Update items which depend on vertex/fragment programs.
*/
@@ -786,12 +779,13 @@ void _mesa_update_state( GLcontext *ctx )
if (new_state & _NEW_LIGHT)
_mesa_update_lighting( ctx );
+ if (new_state & _IMAGE_NEW_TRANSFER_STATE)
+ _mesa_update_pixel( ctx, new_state );
if (new_state & _NEW_PROGRAM)
update_program( ctx );
-
- /* ctx->_NeedEyeCoords is now uptodate.
+ /* ctx->_NeedEyeCoords is now up to date.
*
* If the truth value of this variable has changed, update for the
* new lighting space and recompute the positions of lights and the