projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3194197
)
draw: Remove dead code.
author
Vinson Lee
<vlee@vmware.com>
Sun, 21 Feb 2010 09:57:16 +0000
(
01:57
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 21 Feb 2010 09:57:16 +0000
(
01:57
-0800)
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pipe_aapoint.c
b/src/gallium/auxiliary/draw/draw_pipe_aapoint.c
index 97f348087937d85b98c3ae8cf91c4b9c032a8a84..9f9fb4312c18e09acf8782e8643a668b33974120 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
+++ b/
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
@@
-864,7
+864,7
@@
draw_install_aapoint_stage(struct draw_context *draw,
*/
aapoint = draw_aapoint_stage( draw );
if (aapoint == NULL)
-
goto fail
;
+
return FALSE
;
aapoint->pipe = pipe;
@@
-881,10
+881,4
@@
draw_install_aapoint_stage(struct draw_context *draw,
draw->pipeline.aapoint = &aapoint->stage;
return TRUE;
-
- fail:
- if (aapoint)
- aapoint->stage.destroy( &aapoint->stage );
-
- return FALSE;
}