diff options
author | Brian Paul <[email protected]> | 2000-10-30 16:32:42 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-10-30 16:32:42 +0000 |
commit | 9499e017b7e05411a32b3e4fa94885eaec0d7277 (patch) | |
tree | 5fcb3ec3bc037e24e652aeebb8c37f97aab7becf /src/mesa/main/state.c | |
parent | caef4a35d602669f742524757bef3c63f0c164a8 (diff) |
Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead.
More minor GLchan changes.
Silence some compiler warnings in cva.[ch]
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r-- | src/mesa/main/state.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 13ed623dcc6..32727d09864 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -1,4 +1,4 @@ -/* $Id: state.c,v 1.37 2000/10/30 13:32:01 keithw Exp $ */ +/* $Id: state.c,v 1.38 2000/10/30 16:32:43 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -827,6 +827,9 @@ void gl_update_state( GLcontext *ctx ) if (MESA_VERBOSE & VERBOSE_STATE) gl_print_state("", ctx->NewState); + if (ctx->NewState & _NEW_PIXEL) + _mesa_update_image_transfer_state(ctx); + if (ctx->NewState & _NEW_ARRAY) gl_update_client_state( ctx ); |