fix another bug that prevented the gl debugger to work
we didn't set the debug tls properly Change-Id: Iad9cc5b5d230a8eb7f680c4b70925c5e43e73051
This commit is contained in:
@@ -88,7 +88,7 @@ DbgContext* CreateDbgContext(const unsigned version, const gl_hooks_t * const ho
|
||||
msg.set_arg1(MAX_COMBINED_TEXTURE_IMAGE_UNITS);
|
||||
Send(msg, cmd);
|
||||
|
||||
*(DbgContext **)pthread_getspecific(dbgEGLThreadLocalStorageKey) = dbg;
|
||||
pthread_setspecific(dbgEGLThreadLocalStorageKey, dbg);
|
||||
return dbg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user