mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 10:30:13 +01:00
util/inlines: constify pipe_surface_equal()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34054>
This commit is contained in:
parent
7154116220
commit
7999b8024c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue