summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/lima_state.c
diff options
context:
space:
mode:
authorAndreas Baierl <[email protected]>2019-07-11 15:26:24 +0200
committerQiang Yu <[email protected]>2019-07-13 13:15:05 +0000
commitce81c9a2e1ee5b8c8acc333fd943abb4fd1c77c9 (patch)
tree2e592ae34acfe015b4cca10a5b1089bba1b1cc48 /src/gallium/drivers/lima/lima_state.c
parent09c4037ddada76ad07cca2fd6b46f5451fa55f1b (diff)
lima: Fix compiler warnings for unused functions.
Signed-off-by: Andreas Baierl <[email protected]> Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_state.c')
-rw-r--r--src/gallium/drivers/lima/lima_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/lima/lima_state.c b/src/gallium/drivers/lima/lima_state.c
index 3cb8c57ffc8..3b78b6dcbf6 100644
--- a/src/gallium/drivers/lima/lima_state.c
+++ b/src/gallium/drivers/lima/lima_state.c
@@ -414,7 +414,7 @@ lima_set_sampler_views(struct pipe_context *pctx,
ctx->dirty |= LIMA_CONTEXT_DIRTY_TEXTURES;
}
-static boolean
+UNUSED static boolean
lima_set_damage_region(struct pipe_context *pctx, unsigned num_rects, int *rects)
{
struct lima_context *ctx = lima_context(pctx);