glapi: minor cosmetic
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user