projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl module.
[mesa.git]
/
src
/
mesa
/
tnl
/
t_context.c
diff --git
a/src/mesa/tnl/t_context.c
b/src/mesa/tnl/t_context.c
index b87452d2eb4b0903b856fabe561db102323fc9b7..0ace5c2d6f182f9994cf2189d2c10b48cafc1b4f 100644
(file)
--- 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;
}