diff options
author | Marek Olšák <[email protected]> | 2013-03-28 02:48:17 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-04-06 23:57:09 +0200 |
commit | 9d4f67600b0a8f4b37eb2ed45b194e153669d11a (patch) | |
tree | 2c3dafb839c1d656950f3fce16d400d883d51601 /src/mesa/main/blend.h | |
parent | 755648c37fc7a54ed0b11c868fd4c7fe28b2f861 (diff) |
mesa: move updating clamp control derived state out of mesa_update_state_locked
It has 2 dependencies: glClampColor and the framebuffer, we might just as well
do the update where those two are changed.
v2: cosmetic changes from Brian's email
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/blend.h')
-rw-r--r-- | src/mesa/main/blend.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/blend.h b/src/mesa/main/blend.h index 694fc5af385..621311d55a8 100644 --- a/src/mesa/main/blend.h +++ b/src/mesa/main/blend.h @@ -108,6 +108,12 @@ _mesa_get_clamp_vertex_color(const struct gl_context *ctx); extern GLboolean _mesa_get_clamp_read_color(const struct gl_context *ctx); +extern void +_mesa_update_clamp_fragment_color(struct gl_context *ctx); + +extern void +_mesa_update_clamp_vertex_color(struct gl_context *ctx); + extern void _mesa_init_color( struct gl_context * ctx ); |