summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/tests
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-05-26 11:41:44 -0700
committerIan Romanick <ian.d.romanick@intel.com>2015-05-26 18:25:41 -0700
commit2b8c51834bcc34a70dec9b470a28c0ef972d6993 (patch)
treeb05724783798eb01762baa631870e74692f6854d /src/mesa/main/tests
parent8d813d14e1f5c690c6737c6cd6fc01937a7d4246 (diff)
downloadexternal_mesa3d-2b8c51834bcc34a70dec9b470a28c0ef972d6993.zip
external_mesa3d-2b8c51834bcc34a70dec9b470a28c0ef972d6993.tar.gz
external_mesa3d-2b8c51834bcc34a70dec9b470a28c0ef972d6993.tar.bz2
glapi: Encapsulate nop table knowledge in new _mesa_new_nop_table function
Encapsulate the knowledge about how to build the nop table in a new _mesa_new_nop_table function. This makes it easier for dispatch_sanity to keep working now and in the future. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Tested-by: Mark Janes <mark.a.janes@intel.com> Cc: 10.6 <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/mesa/main/tests')
-rw-r--r--src/mesa/main/tests/dispatch_sanity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
index d38b68d..c6f3c39 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -96,7 +96,7 @@ DispatchSanity_test::SetUp()
_mesa_init_driver_functions(&driver_functions);
const unsigned size = _glapi_get_dispatch_table_size();
- nop_table = (_glapi_proc *) _glapi_new_nop_table(size);
+ nop_table = (_glapi_proc *) _mesa_new_nop_table(size);
}
void