dri: add _glapi_set_nop_handler(), _glapi_new_nop_table() to dri_test.c
authorBrian Paul <brianp@vmware.com>
Wed, 18 Mar 2015 18:25:03 +0000 (12:25 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 18 Mar 2015 18:46:11 +0000 (12:46 -0600)
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 <mark.a.janes@intel.com>
src/mesa/drivers/dri/common/dri_test.c

index 7ab50d9231eea25a8685aa6c876edf3a6b6126b6..57bfa5b9394b0e9ca90a5f11bcb1a77402d077f1 100644 (file)
@@ -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)
 {