projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c07b1
)
gallium/util: remove bogus return statement
author
Brian Paul
<brianp@vmware.com>
Tue, 20 Apr 2010 16:08:52 +0000
(10:08 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 20 Apr 2010 16:10:48 +0000
(10:10 -0600)
util_surfaces_do_detach() is a void-valued function.
src/gallium/auxiliary/util/u_surfaces.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_surfaces.h
b/src/gallium/auxiliary/util/u_surfaces.h
index 6de5e7cc17e0d0bf8191a385c1ba1226d09981f9..0195bf5afbaf6788004f42131d22636b01ca0511 100644
(file)
--- 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 *));