summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_screen.c
diff options
context:
space:
mode:
authorJames Benton <[email protected]>2012-09-13 16:05:08 +0100
committerJosé Fonseca <[email protected]>2012-11-28 19:14:36 +0000
commit66fdf626bb4a970e5a972f24faf6e69eda67e31d (patch)
treed466fd9971246c7e122a3ce9665a931e0e913325 /src/gallium/drivers/llvmpipe/lp_screen.c
parentfa1b481c09b14e01eca1b3db8e0854033f6dee3d (diff)
llvmpipe: Enable vertex color clamping.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c2
1 files changed, 1 insertions, 1 deletions
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: