From 66fdf626bb4a970e5a972f24faf6e69eda67e31d Mon Sep 17 00:00:00 2001 From: James Benton Date: Thu, 13 Sep 2012 16:05:08 +0100 Subject: [PATCH] llvmpipe: Enable vertex color clamping. Reviewed-by: Jose Fonseca --- src/gallium/drivers/llvmpipe/lp_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 5ff8024a223..74b7b99c0ea 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -193,7 +193,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) return 0; case PIPE_CAP_VERTEX_COLOR_UNCLAMPED: case PIPE_CAP_VERTEX_COLOR_CLAMPED: - return 0; + return 1; case PIPE_CAP_GLSL_FEATURE_LEVEL: return 120; case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: -- 2.30.2