summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/util/u_surfaces.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_surfaces.h b/src/gallium/auxiliary/util/u_surfaces.h
index 6de5e7cc17e..0195bf5afba 100644
--- a/src/gallium/auxiliary/util/u_surfaces.h
+++ b/src/gallium/auxiliary/util/u_surfaces.h
@@ -46,7 +46,7 @@ util_surfaces_detach(struct util_surfaces *us, struct pipe_surface *ps)
return;
}
- return util_surfaces_do_detach(us, ps);
+ util_surfaces_do_detach(us, ps);
}
void util_surfaces_destroy(struct util_surfaces *us, struct pipe_resource *pt, void (*destroy_surface) (struct pipe_surface *));