summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pipe_aaline.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-04-21 16:45:41 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-04-21 16:45:41 +0100
commit0cd90a917d289363a3edb5cfa40c391eb07aa97c (patch)
tree0f12c1ba059aae6ba50961adaf9324bc6e234e27 /src/gallium/auxiliary/draw/draw_pipe_aaline.c
parent69ecc2a577dc45451d56cee3e41cb6e7e542b097 (diff)
draw: propogate errors out of aapoint stage
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_aaline.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_aaline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_aaline.c b/src/gallium/auxiliary/draw/draw_pipe_aaline.c
index ae1abf91c2..bc514d40f0 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_aaline.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_aaline.c
@@ -725,7 +725,7 @@ draw_aaline_stage(struct draw_context *draw)
if (aaline == NULL)
return NULL;
- if (draw_alloc_temp_verts( &aaline->stage, 8 ))
+ if (!draw_alloc_temp_verts( &aaline->stage, 8 ))
goto fail;
aaline->stage.draw = draw;