projects
/
platform
/
upstream
/
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
6de5e7c
..
0195bf5
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 *));