diff options
Diffstat (limited to 'src/mesa/tnl/t_context.c')
-rw-r--r-- | src/mesa/tnl/t_context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c index bb5d9fc07b9..345f0bf8584 100644 --- a/src/mesa/tnl/t_context.c +++ b/src/mesa/tnl/t_context.c @@ -96,12 +96,12 @@ _tnl_CreateContext( struct gl_context *ctx ) insert_at_tail( tnl->_ShineTabList, s ); } - /* plug in the VBO drawing function */ - vbo_set_draw_func(ctx, _tnl_draw_prims); - _math_init_transformation(); _math_init_translate(); + /* Keep our list of gl_vertex_array inputs */ + _vbo_init_inputs(&tnl->draw_arrays); + return GL_TRUE; } |