aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/blend.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-03-28 01:50:21 +0100
committerMarek Olšák <[email protected]>2013-04-06 23:57:04 +0200
commit21d407c1b8bf3be1eff87121d528d03c240ce207 (patch)
tree5909f109a8e529e2e2663b42a10e56a5aca848d1 /src/mesa/main/blend.h
parentc4629ad3f9440ec7ad3d9f4881d0aba41a93f2f5 (diff)
mesa: refactor clamping controls, get rid of _ClampReadColor
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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/blend.h b/src/mesa/main/blend.h
index a539aa80937..694fc5af385 100644
--- a/src/mesa/main/blend.h
+++ b/src/mesa/main/blend.h
@@ -99,6 +99,14 @@ _mesa_ColorMaski( GLuint buf, GLboolean red, GLboolean green,
extern void GLAPIENTRY
_mesa_ClampColor(GLenum target, GLenum clamp);
+extern GLboolean
+_mesa_get_clamp_fragment_color(const struct gl_context *ctx);
+
+extern GLboolean
+_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_init_color( struct gl_context * ctx );