diff options
author | Keith Whitwell <[email protected]> | 2009-03-03 10:41:57 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-03-03 10:41:57 +0000 |
commit | c64a2b708944ec671b1104067245500fcfc6ed94 (patch) | |
tree | 6c7a0d642264502993c1be2bc9d3da7e288615fc /src/mesa/vbo/vbo_exec.c | |
parent | 050ce17799cbe652962f898942ae6551d31f21a2 (diff) |
mesa: Add BeginVertices driver call
Provides notification to the VBO modules prior to the first immediate call.
Pairs with FlushVertices()
Diffstat (limited to 'src/mesa/vbo/vbo_exec.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_exec.c b/src/mesa/vbo/vbo_exec.c index 635f239acc8..e168a89ea5e 100644 --- a/src/mesa/vbo/vbo_exec.c +++ b/src/mesa/vbo/vbo_exec.c @@ -57,6 +57,7 @@ void vbo_exec_init( GLcontext *ctx ) ctx->Driver.NeedFlush = 0; ctx->Driver.CurrentExecPrimitive = PRIM_OUTSIDE_BEGIN_END; + ctx->Driver.BeginVertices = vbo_exec_BeginVertices; ctx->Driver.FlushVertices = vbo_exec_FlushVertices; vbo_exec_invalidate_state( ctx, ~0 ); |