[Mesa-dev] [PATCH 1/2] glapi: use 'Mesa' in error messages

Chia-I Wu olvaffe at gmail.com
Wed Mar 5 19:32:18 PST 2014


On Thu, Mar 6, 2014 at 7:06 AM, Brian Paul <brianp at vmware.com> wrote:
> A user would have no idea what "_glthread_" is.  This removes the
> last remaining instance of the _glthread_ string in Mesa.
Reviewed-by: Chia-I Wu <olv at lunarg.com>
> ---
>  src/mapi/u_thread.h |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/mapi/u_thread.h b/src/mapi/u_thread.h
> index 0fc9392..78f2269 100644
> --- a/src/mapi/u_thread.h
> +++ b/src/mapi/u_thread.h
> @@ -57,9 +57,9 @@
>  /*
>   * Error messages
>   */
> -#define INIT_TSD_ERROR "_glthread_: failed to allocate key for thread specific data"
> -#define GET_TSD_ERROR "_glthread_: failed to get thread specific data"
> -#define SET_TSD_ERROR "_glthread_: thread failed to set thread specific data"
> +#define INIT_TSD_ERROR "Mesa: failed to allocate key for thread specific data"
> +#define GET_TSD_ERROR "Mesa: failed to get thread specific data"
> +#define SET_TSD_ERROR "Mesa: thread failed to set thread specific data"
>
>
>  /*
> --
> 1.7.10.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



-- 
olv at LunarG.com


More information about the mesa-dev mailing list