aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_screen.c')
-rw-r--r--src/gallium/auxiliary/util/u_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c
index 2d32ca8b240..464d9dddc7f 100644
--- a/src/gallium/auxiliary/util/u_screen.c
+++ b/src/gallium/auxiliary/util/u_screen.c
@@ -334,6 +334,8 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
case PIPE_CAP_SURFACE_SAMPLE_COUNT:
return 0;
+ case PIPE_CAP_DEST_SURFACE_SRGB_CONTROL:
+ return 1;
default:
unreachable("bad PIPE_CAP_*");