mesa: move assertions in test_attachment_completeness()
[mesa.git] / src / mesa / vbo / vbo_exec.c
index 1efa74945dd73afd9f5bcc8072cfd83773fb6c51..e168a89ea5e28dbd1f07389a90ba1b3bbe8e5d02 100644 (file)
@@ -32,7 +32,6 @@
 #include "main/context.h"
 #include "main/macros.h"
 #include "main/mtypes.h"
-#include "main/dlist.h"
 #include "main/vtxfmt.h"
 
 #include "vbo_context.h"
@@ -58,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 );