From: Brian Paul Date: Wed, 18 Mar 2015 18:25:03 +0000 (-0600) Subject: dri: add _glapi_set_nop_handler(), _glapi_new_nop_table() to dri_test.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=627991dbf74ce5aee9ce75155fc27a429bdd0548;p=mesa.git dri: add _glapi_set_nop_handler(), _glapi_new_nop_table() to dri_test.c I wasn't aware of these _glapi_ stub functions when I committed 4bdbb588a9d385509f9168e38bfdb76952ba469c. Fixes "make check" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89662 Reviewed-by: Mark Janes --- diff --git a/src/mesa/drivers/dri/common/dri_test.c b/src/mesa/drivers/dri/common/dri_test.c index 7ab50d9231e..57bfa5b9394 100644 --- a/src/mesa/drivers/dri/common/dri_test.c +++ b/src/mesa/drivers/dri/common/dri_test.c @@ -76,6 +76,17 @@ _glapi_get_dispatch_table_size(void) return 0; } +PUBLIC void +_glapi_set_nop_handler(_glapi_nop_handler_proc func) +{ +} + +PUBLIC struct _glapi_table * +_glapi_new_nop_table(unsigned num_entries) +{ + return NULL; +} + #ifndef NO_MAIN int main(int argc, char** argv) {