softpipe: fix draw return value
authorKeith Whitwell <keithw@vmware.com>
Wed, 6 Jan 2010 18:05:08 +0000 (18:05 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 6 Jan 2010 18:05:08 +0000 (18:05 +0000)
src/gallium/drivers/softpipe/sp_draw_arrays.c

index 3826a9e41a68985284971b3ebf9049ba8a482cc8..03d35fb3cb59e4a4cef97d4bbf651020ffd5e313 100644 (file)
@@ -124,7 +124,7 @@ softpipe_draw_range_elements(struct pipe_context *pipe,
    unsigned i;
 
    if (!softpipe_check_render_cond(sp))
-      return TRUE;
+      return;
 
    sp->reduced_api_prim = u_reduced_prim(mode);