summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-10 19:36:11 +0200
committerMarek Olšák <[email protected]>2017-06-22 01:51:02 +0200
commit1c818fff0cbce5fce1d3d1b6cd273797e6fa80d6 (patch)
tree262a0d7f17b0ac679cc477b0d19194ad1f6f0d51 /src/mesa/state_tracker/st_context.c
parent0b03d82f9c8041043be0928f557a16ec0fcd1c7d (diff)
st/mesa: move blend color into its own state atom
This is now sensible thanks to the NewBlendColor flag. Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 18f202632a8..f57cd6a4256 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -503,7 +503,7 @@ static void st_init_driver_flags(struct st_context *st)
f->NewScissorTest = ST_NEW_SCISSOR | ST_NEW_RASTERIZER;
f->NewAlphaTest = ST_NEW_DSA;
f->NewBlend = ST_NEW_BLEND;
- f->NewBlendColor = ST_NEW_BLEND; /* TODO: add an atom for blend color */
+ f->NewBlendColor = ST_NEW_BLEND_COLOR;
f->NewColorMask = ST_NEW_BLEND;
f->NewDepth = ST_NEW_DSA;
f->NewLogicOp = ST_NEW_BLEND;