diff options
author | Iago Toral Quiroga <[email protected]> | 2014-04-08 13:01:20 +0200 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-04-08 15:10:10 -0700 |
commit | 1a92637c68b84fa30e90f442e8a3d32c450cafcc (patch) | |
tree | 20e67c25b51ef2607c1265d853ecf7e7869c278a /src/mesa/tnl/tnl.h | |
parent | 2ffb50d77b7ae3cdedf0319a0def16732ed39578 (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/tnl/tnl.h')
-rw-r--r-- | src/mesa/tnl/tnl.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/tnl/tnl.h b/src/mesa/tnl/tnl.h index 59a0ac38084..8c59ff9e58f 100644 --- a/src/mesa/tnl/tnl.h +++ b/src/mesa/tnl/tnl.h @@ -77,15 +77,6 @@ struct _mesa_index_buffer; void _tnl_draw_prims( struct gl_context *ctx, - const struct gl_client_array *arrays[], - const struct _mesa_prim *prim, - GLuint nr_prims, - const struct _mesa_index_buffer *ib, - GLuint min_index, - GLuint max_index); - -void -_tnl_vbo_draw_prims( struct gl_context *ctx, const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, |