summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-04-17 13:58:05 -0600
committerBrian Paul <[email protected]>2012-04-18 08:34:48 -0600
commitcf736aa098b2e2600a852ab61f7887a05e8969eb (patch)
tree358285afbaacc508bda9f06e7bce56dcdac58329
parentbdb0ad77c20653d01570a4ce44f4200a97fb5f11 (diff)
svga: return PIPE_OK instead of 0
-rw-r--r--src/gallium/drivers/svga/svga_pipe_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_draw.c b/src/gallium/drivers/svga/svga_pipe_draw.c
index cc0df7187fb..2cab5326592 100644
--- a/src/gallium/drivers/svga/svga_pipe_draw.c
+++ b/src/gallium/drivers/svga/svga_pipe_draw.c
@@ -309,7 +309,7 @@ retry_draw_arrays( struct svga_context *svga,
if (ret != PIPE_OK)
goto retry;
- return 0;
+ return PIPE_OK;
retry:
if (ret == PIPE_ERROR_OUT_OF_MEMORY && do_retry)