From 7999b8024cb6323cc1884928d71d4e18e7aeae37 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 10 Mar 2025 13:41:01 -0400 Subject: [PATCH] util/inlines: constify pipe_surface_equal() Part-of: --- src/gallium/auxiliary/util/u_inlines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_inlines.h b/src/gallium/auxiliary/util/u_inlines.h index ec4a81b53dc..4d383dcdbb7 100644 --- a/src/gallium/auxiliary/util/u_inlines.h +++ b/src/gallium/auxiliary/util/u_inlines.h @@ -421,7 +421,7 @@ pipe_surface_size(const struct pipe_surface *ps, uint16_t *width, uint16_t *heig /* Return true if the surfaces are equal. */ static inline bool -pipe_surface_equal(struct pipe_surface *s1, struct pipe_surface *s2) +pipe_surface_equal(const struct pipe_surface *s1, const struct pipe_surface *s2) { return s1->texture == s2->texture && s1->format == s2->format &&