Mesa (master): softpipe: fix draw return value

Keith Whitwell keithw at kemper.freedesktop.org
Wed Jan 6 18:13:35 UTC 2010


Module: Mesa
Branch: master
Commit: 8e559e05a8887df6477eb5ee26c4f4461b79b303
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e559e05a8887df6477eb5ee26c4f4461b79b303

Author: Keith Whitwell <keithw at vmware.com>
Date:   Wed Jan  6 18:05:08 2010 +0000

softpipe: fix draw return value

---

 src/gallium/drivers/softpipe/sp_draw_arrays.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_draw_arrays.c b/src/gallium/drivers/softpipe/sp_draw_arrays.c
index 3826a9e..03d35fb 100644
--- a/src/gallium/drivers/softpipe/sp_draw_arrays.c
+++ b/src/gallium/drivers/softpipe/sp_draw_arrays.c
@@ -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);
 




More information about the mesa-commit mailing list