[Mesa-dev] [PATCH] dri: add _glapi_set_nop_handler(), _glapi_new_nop_table() to dri_test.c

Mark Janes mark.a.janes at intel.com
Wed Mar 18 11:42:59 PDT 2015


Reviewed-by: Mark Janes <mark.a.janes at intel.com>

Brian Paul <brianp at vmware.com> writes:

> 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
> ---
>  src/mesa/drivers/dri/common/dri_test.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/common/dri_test.c b/src/mesa/drivers/dri/common/dri_test.c
> index 7ab50d9..57bfa5b 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)
>  {
> -- 
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list