aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_screen.c
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-10-03 16:51:19 -0400
committerErik Faye-Lund <[email protected]>2019-10-17 10:41:36 +0200
commit28543f1640d459404413c244740291fe68a75a5c (patch)
treeb2e7e01dc255da195414a3d61d089436151e9ec0 /src/gallium/auxiliary/util/u_screen.c
parent011d692a52b60bbbb73395e403bcb6c7cbe61a06 (diff)
mesa/gallium: automatically lower two-sided lighting
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_screen.c')
-rw-r--r--src/gallium/auxiliary/util/u_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c
index 4c52874f3a5..2a0c28aabc1 100644
--- a/src/gallium/auxiliary/util/u_screen.c
+++ b/src/gallium/auxiliary/util/u_screen.c
@@ -397,6 +397,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
case PIPE_CAP_FLATSHADE:
case PIPE_CAP_ALPHA_TEST:
case PIPE_CAP_POINT_SIZE_FIXED:
+ case PIPE_CAP_TWO_SIDED_COLOR:
return 1;
default: