summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-01-06 18:05:08 +0000
committerKeith Whitwell <[email protected]>2010-01-06 18:05:08 +0000
commit8e559e05a8887df6477eb5ee26c4f4461b79b303 (patch)
tree2024d604ed85ae1296112e7cc40317a844ac4a19 /src/gallium/drivers/softpipe
parent60f5608bd7027a5c26a84f1d63250353ec4ea43c (diff)
softpipe: fix draw return value
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r--src/gallium/drivers/softpipe/sp_draw_arrays.c2
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 3826a9e41a6..03d35fb3cb5 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);