Mesa (master): glapi: use 'Mesa' in error messages

Brian Paul brianp at kemper.freedesktop.org
Fri Mar 7 16:09:02 UTC 2014


Module: Mesa
Branch: master
Commit: b46e8622f18cd308680a08aa9944bfed7134df5b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b46e8622f18cd308680a08aa9944bfed7134df5b

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Mar  5 16:06:00 2014 -0700

glapi: use 'Mesa' in error messages

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 4b9ed16..57c3b07 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"
 
 
 /*




More information about the mesa-commit mailing list