diff options
author | Laura Ekstrand <[email protected]> | 2015-03-03 14:03:33 -0800 |
---|---|---|
committer | Fredrik Höglund <[email protected]> | 2015-05-14 15:48:14 +0200 |
commit | 2cabfd9636a55f6adee04f4199ba83a39598d51c (patch) | |
tree | 8eed408c25fad33d3dbc0cde52d1bce82ca1603a /src/mesa/main/blend.h | |
parent | c1fe8d841c4746a6371dde569c6c88c6c2bad4e6 (diff) |
main: Refactor _mesa_[update|get]_clamp_fragment_color.
Reviewed-by: Fredrik Höglund <[email protected]>
Signed-off-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/mesa/main/blend.h')
-rw-r--r-- | src/mesa/main/blend.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/blend.h b/src/mesa/main/blend.h index 9c1ef7e8592..58e66736ddc 100644 --- a/src/mesa/main/blend.h +++ b/src/mesa/main/blend.h @@ -102,7 +102,8 @@ extern void GLAPIENTRY _mesa_ClampColor(GLenum target, GLenum clamp); extern GLboolean -_mesa_get_clamp_fragment_color(const struct gl_context *ctx); +_mesa_get_clamp_fragment_color(const struct gl_context *ctx, + const struct gl_framebuffer *drawFb); extern GLboolean _mesa_get_clamp_vertex_color(const struct gl_context *ctx, @@ -112,7 +113,8 @@ extern GLboolean _mesa_get_clamp_read_color(const struct gl_context *ctx); extern void -_mesa_update_clamp_fragment_color(struct gl_context *ctx); +_mesa_update_clamp_fragment_color(struct gl_context *ctx, + const struct gl_framebuffer *drawFb); extern void _mesa_update_clamp_vertex_color(struct gl_context *ctx, |