diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-12-07 17:24:42 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-12-07 17:24:42 -0700 |
commit | c885775cae8feabe5431ba7867fac99332f5ee8e (patch) | |
tree | b866a831db8fe2bc51475592cb86d55a934767f5 /src/mesa/tnl/t_context.c | |
parent | 40e9c57d318c1d4a1e75fe0c88374182050d7f48 (diff) |
New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl module.
Diffstat (limited to 'src/mesa/tnl/t_context.c')
-rw-r--r-- | src/mesa/tnl/t_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c index b87452d2eb..0ace5c2d6f 100644 --- a/src/mesa/tnl/t_context.c +++ b/src/mesa/tnl/t_context.c @@ -78,6 +78,9 @@ _tnl_CreateContext( GLcontext *ctx ) tnl->nr_blocks = 0; + /* plug in the VBO drawing function */ + vbo_set_draw_func(ctx, _tnl_draw_prims); + return GL_TRUE; } |