diff options
author | Jordan Justen <[email protected]> | 2012-11-16 18:25:35 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2012-12-16 15:30:27 -0800 |
commit | d5d1f10955f46207aabd011d43e863920abe3b00 (patch) | |
tree | e204a6d8498769168c21157e29aaca949c3fd881 | |
parent | 4bea4cb9fd55cdb267003a6e6e16f7e903e00940 (diff) |
mesa dispatch_sanity: call new functions to initialize exec table
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/mesa/main/tests/dispatch_sanity.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index a7c6f8fd928..a28555978e4 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -52,6 +52,7 @@ extern "C" { #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" @@ -103,13 +104,17 @@ DispatchSanity_test::SetUp() 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 * |