summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2014-04-08 13:01:20 +0200
committerEric Anholt <[email protected]>2014-04-08 15:10:10 -0700
commit1a92637c68b84fa30e90f442e8a3d32c450cafcc (patch)
tree20e67c25b51ef2607c1265d853ecf7e7869c278a /src/mesa/drivers/dri/nouveau
parent2ffb50d77b7ae3cdedf0319a0def16732ed39578 (diff)
tnl: Merge _tnl_vbo_draw_prims() into _tnl_draw_prims().
This should help prevent situations where we render without proper index bounds. For example: https://bugs.freedesktop.org/show_bug.cgi?id=59455 Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c b/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
index dff947aa028..c85acec1268 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c
@@ -504,9 +504,9 @@ TAG(vbo_check_render_prims)(struct gl_context *ctx,
tfb_vertcount, indirect);
if (nctx->fallback == SWTNL)
- _tnl_vbo_draw_prims(ctx, prims, nr_prims, ib,
- index_bounds_valid, min_index, max_index,
- tfb_vertcount, indirect);
+ _tnl_draw_prims(ctx, prims, nr_prims, ib,
+ index_bounds_valid, min_index, max_index,
+ tfb_vertcount, indirect);
}
void