summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blend.h
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-03-03 15:05:16 -0800
committerFredrik Höglund <fredrik@kde.org>2015-05-14 15:48:14 +0200
commit39be0c5f6c1922e2e2f3c4243dd8257c2e7deef8 (patch)
tree222302c4cb8ae05c325de568629baf032903e11c /src/mesa/main/blend.h
parent2cabfd9636a55f6adee04f4199ba83a39598d51c (diff)
downloadexternal_mesa3d-39be0c5f6c1922e2e2f3c4243dd8257c2e7deef8.zip
external_mesa3d-39be0c5f6c1922e2e2f3c4243dd8257c2e7deef8.tar.gz
external_mesa3d-39be0c5f6c1922e2e2f3c4243dd8257c2e7deef8.tar.bz2
main: Refactor _mesa_get_clamp_read_color.
This wasn't neccessary for ARB_direct_state_access, but felt like a good idea for the sake of completeness. Reviewed-by: Fredrik Höglund <fredrik@kde.org> Signed-off-by: Fredrik Höglund <fredrik@kde.org>
Diffstat (limited to 'src/mesa/main/blend.h')
-rw-r--r--src/mesa/main/blend.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/blend.h b/src/mesa/main/blend.h
index 58e6673..8ab9e02 100644
--- a/src/mesa/main/blend.h
+++ b/src/mesa/main/blend.h
@@ -110,7 +110,8 @@ _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);
+_mesa_get_clamp_read_color(const struct gl_context *ctx,
+ const struct gl_framebuffer *readFb);
extern void
_mesa_update_clamp_fragment_color(struct gl_context *ctx,