glapi: minor cosmetic

This commit is contained in:
George Sapountzis
2010-03-03 21:22:38 +02:00
parent 8bd8aec81d
commit 3b8ff24554
+3 -3
View File
@@ -139,7 +139,7 @@ _glthread_InitTSD(_glthread_TSD *tsd)
{ {
tsd->key = TlsAlloc(); tsd->key = TlsAlloc();
if (tsd->key == TLS_OUT_OF_INDEXES) { if (tsd->key == TLS_OUT_OF_INDEXES) {
perror("Mesa:_glthread_InitTSD"); perror(INIT_TSD_ERROR);
InsteadOf_exit(-1); InsteadOf_exit(-1);
} }
tsd->initMagic = INIT_MAGIC; tsd->initMagic = INIT_MAGIC;
@@ -176,8 +176,8 @@ _glthread_SetTSD(_glthread_TSD *tsd, void *ptr)
_glthread_InitTSD(tsd); _glthread_InitTSD(tsd);
} }
if (TlsSetValue(tsd->key, ptr) == 0) { if (TlsSetValue(tsd->key, ptr) == 0) {
perror("Mesa:_glthread_SetTSD"); perror(SET_TSD_ERROR);
InsteadOf_exit(-1); InsteadOf_exit(-1);
} }
} }