svga: return PIPE_OK instead of 0
authorBrian Paul <brianp@vmware.com>
Tue, 17 Apr 2012 19:58:05 +0000 (13:58 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 18 Apr 2012 14:34:48 +0000 (08:34 -0600)
src/gallium/drivers/svga/svga_pipe_draw.c

index cc0df71..2cab532 100644 (file)
@@ -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)