summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-07 17:24:42 -0700
committerBen Skeggs <skeggsb@gmail.com>2007-12-09 12:05:27 +1100
commit5e46b252b923de820f65ed63d379b9b4578e5fa8 (patch)
treedc3eb4e3b9f00c4353a33b8bee4487637077cde3 /src/mesa/tnl
parent75ec482001b0c8f386327c2fe5ff8ac4aee43582 (diff)
New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl module.
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_context.c3
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;
}