In a future patch the exec functions will no longer set up
by _mesa_initialize_context and _vbo_CreateContext.
Therefore we must call _mesa_initialize_exec_table and
_mesa_initialize_exec_table_vbo.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
#include "main/api_exec.h"
#include "main/context.h"
#include "main/remap.h"
+#include "main/vtxfmt.h"
#include "glapi/glapi.h"
#include "drivers/common/driverfuncs.h"
void
DispatchSanity_test::SetUpCtx(gl_api api, unsigned int version)
{
- ctx.Version = version;
_mesa_initialize_context(&ctx,
api,
&visual,
NULL, // share_list
&driver_functions);
_vbo_CreateContext(&ctx);
+
+ ctx.Version = version;
+
+ _mesa_initialize_exec_table(&ctx);
+ _mesa_initialize_vbo_vtxfmt(&ctx);
}
static const char *