summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blend.h
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-02-03 11:42:17 -0800
committerFredrik Höglund <[email protected]>2015-05-14 15:48:14 +0200
commitc1fe8d841c4746a6371dde569c6c88c6c2bad4e6 (patch)
treef5f5ecc6274deb932dceee3390951b31b6038bb8 /src/mesa/main/blend.h
parent9036a6c0aa0637a1cd756836006dc8565b15a478 (diff)
main: Refactor _mesa_[update|get]_clamp_vertex_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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/main/blend.h b/src/mesa/main/blend.h
index fe31a7440f0..9c1ef7e8592 100644
--- a/src/mesa/main/blend.h
+++ b/src/mesa/main/blend.h
@@ -37,6 +37,7 @@
#include "formats.h"
struct gl_context;
+struct gl_framebuffer;
extern void GLAPIENTRY
@@ -104,7 +105,8 @@ extern GLboolean
_mesa_get_clamp_fragment_color(const struct gl_context *ctx);
extern GLboolean
-_mesa_get_clamp_vertex_color(const struct gl_context *ctx);
+_mesa_get_clamp_vertex_color(const struct gl_context *ctx,
+ const struct gl_framebuffer *drawFb);
extern GLboolean
_mesa_get_clamp_read_color(const struct gl_context *ctx);
@@ -113,7 +115,8 @@ extern void
_mesa_update_clamp_fragment_color(struct gl_context *ctx);
extern void
-_mesa_update_clamp_vertex_color(struct gl_context *ctx);
+_mesa_update_clamp_vertex_color(struct gl_context *ctx,
+ const struct gl_framebuffer *drawFb);
extern mesa_format
_mesa_get_render_format(const struct gl_context *ctx, mesa_format format);