summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)