diff options
author | Keith Whitwell <[email protected]> | 2006-10-29 09:48:15 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-10-29 09:48:15 +0000 |
commit | b1f176039ae3690b38e3ccacb079b3d7c3e50402 (patch) | |
tree | 045b13f38d0eb538f69a2fe1005262e2f483c76f /src/mesa/tnl/t_vb_render.c | |
parent | fd12b37dbada6f945a94b93ecf332d0b6a8eef06 (diff) |
Changes for new vbo-building module.
- Removed all the old immediate, array and display list code.
- Remove references to the old array_cache module.
- Added a _tnl_draw_prims() entrypoint.
- Added a simplified data import facility for converting
non-floating point data as required.
Checkpoint commit - trivial/tri works.
Diffstat (limited to 'src/mesa/tnl/t_vb_render.c')
-rw-r--r-- | src/mesa/tnl/t_vb_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_render.c b/src/mesa/tnl/t_vb_render.c index 163fa312579..c38f0745e1b 100644 --- a/src/mesa/tnl/t_vb_render.c +++ b/src/mesa/tnl/t_vb_render.c @@ -305,7 +305,7 @@ static GLboolean run_render( GLcontext *ctx, for (i = 0 ; i < VB->PrimitiveCount ; i++) { - GLuint prim = VB->Primitive[i].mode; + GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); GLuint start = VB->Primitive[i].start; GLuint length = VB->Primitive[i].count; |