diff options
author | marha <marha@users.sourceforge.net> | 2011-09-20 08:40:57 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-20 08:40:57 +0200 |
commit | 0470a59df89ab453bdbe0fc2f820278cfffdc61c (patch) | |
tree | 5482d527c8426219414edc60d3891764ca2b1a20 /mesalib/src/mesa/main/state.c | |
parent | b2c925e360e2c366526de15b44603f855f94139c (diff) | |
download | vcxsrv-0470a59df89ab453bdbe0fc2f820278cfffdc61c.tar.gz vcxsrv-0470a59df89ab453bdbe0fc2f820278cfffdc61c.tar.bz2 vcxsrv-0470a59df89ab453bdbe0fc2f820278cfffdc61c.zip |
libX11 libxtrans mesa git update 20 sep 2011
Diffstat (limited to 'mesalib/src/mesa/main/state.c')
-rw-r--r-- | mesalib/src/mesa/main/state.c | 16 |
1 files changed, 0 insertions, 16 deletions
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 @@ -407,19 +407,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 */ static void @@ -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); |