summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-04-21 01:13:36 +0100
committerJakob Bornecrantz <[email protected]>2010-04-21 01:14:03 +0100
commit58590a112aed1354f7592520f8f258df24c89c9b (patch)
treec54e3db5637349527501b8c60a9435f794cde8d0 /src/gallium/drivers/svga
parente648d4a1d1c0c5f70916e38366b863f0bec79a62 (diff)
svga: Fix index offset
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_draw_arrays.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_draw_arrays.c b/src/gallium/drivers/svga/svga_draw_arrays.c
index 005996d05d3..da33fae62f1 100644
--- a/src/gallium/drivers/svga/svga_draw_arrays.c
+++ b/src/gallium/drivers/svga/svga_draw_arrays.c
@@ -277,12 +277,13 @@ svga_hwtnl_draw_arrays( struct svga_hwtnl *hwtnl,
ret = svga_hwtnl_simple_draw_range_elements( hwtnl,
gen_buf,
gen_size,
+ start,
0,
count - 1,
gen_prim,
0,
- gen_nr,
- start );
+ gen_nr );
+
if (ret)
goto done;