From 0470a59df89ab453bdbe0fc2f820278cfffdc61c Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 20 Sep 2011 08:40:57 +0200 Subject: libX11 libxtrans mesa git update 20 sep 2011 --- mesalib/src/mesa/main/state.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'mesalib/src/mesa/main/state.c') diff --git a/mesalib/src/mesa/main/state.c b/mesalib/src/mesa/main/state.c index 457a730de..9d9c952dc 100644 --- a/mesalib/src/mesa/main/state.c +++ b/mesalib/src/mesa/main/state.c @@ -406,19 +406,6 @@ update_multisample(struct gl_context *ctx) } -/** - * Update derived color/blend/logicop state. - */ -static void -update_color(struct gl_context *ctx) -{ - /* This is needed to support 1.1's RGB logic ops AND - * 1.0's blending logicops. - */ - ctx->Color._LogicOpEnabled = _mesa_rgba_logicop_enabled(ctx); -} - - /** * Update the ctx->Color._ClampFragmentColor field */ @@ -634,9 +621,6 @@ _mesa_update_state_locked( struct gl_context *ctx ) if (new_state & (_NEW_MULTISAMPLE | _NEW_BUFFERS)) update_multisample( ctx ); - if (new_state & _NEW_COLOR) - update_color( ctx ); - if (new_state & (_NEW_COLOR | _NEW_BUFFERS)) update_clamp_read_color(ctx); -- cgit v1.2.3