projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
902ccfc
)
draw: Remove dead code.
author
Vinson Lee
<vlee@vmware.com>
Tue, 23 Feb 2010 07:23:57 +0000
(23:23 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 23 Feb 2010 07:23:57 +0000
(23:23 -0800)
src/gallium/auxiliary/draw/draw_pipe_offset.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pipe_offset.c
b/src/gallium/auxiliary/draw/draw_pipe_offset.c
index e829492423e3b0e9275a0f13c498ebf9acc4858c..8e321946ceda7b7dff528563d27c1c36ef7acd88 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pipe_offset.c
+++ b/
src/gallium/auxiliary/draw/draw_pipe_offset.c
@@
-161,7
+161,7
@@
struct draw_stage *draw_offset_stage( struct draw_context *draw )
{
struct offset_stage *offset = CALLOC_STRUCT(offset_stage);
if (offset == NULL)
-
goto fail
;
+
return NULL
;
draw_alloc_temp_verts( &offset->stage, 3 );
@@
-176,10
+176,4
@@
struct draw_stage *draw_offset_stage( struct draw_context *draw )
offset->stage.destroy = offset_destroy;
return &offset->stage;
-
- fail:
- if (offset)
- offset->stage.destroy( &offset->stage );
-
- return NULL;
}