From 9499e017b7e05411a32b3e4fa94885eaec0d7277 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 30 Oct 2000 16:32:42 +0000 Subject: Removed UPDATE_IMAGE_TRANSFER_STATE, use _NEW_PIXEL flag instead. More minor GLchan changes. Silence some compiler warnings in cva.[ch] --- src/mesa/main/state.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/state.c') 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 ); -- cgit v1.2.3