diff options
author | Mathias Agopian <mathias@google.com> | 2011-09-01 17:50:52 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-09-01 17:50:52 -0700 |
commit | 4222092bd5650aa353caad4ef67689498564e592 (patch) | |
tree | 9812ad425064f8c31e1641658d0301abdf8ba56d /opengl | |
parent | 3b583229d0aa3629fe9400dd633bebbc54a5c0c2 (diff) | |
download | frameworks_base-4222092bd5650aa353caad4ef67689498564e592.zip frameworks_base-4222092bd5650aa353caad4ef67689498564e592.tar.gz frameworks_base-4222092bd5650aa353caad4ef67689498564e592.tar.bz2 |
fix another bug that prevented the gl debugger to work
we didn't set the debug tls properly
Change-Id: Iad9cc5b5d230a8eb7f680c4b70925c5e43e73051
Diffstat (limited to 'opengl')
-rw-r--r-- | opengl/libs/GLES2_dbg/src/dbgcontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/GLES2_dbg/src/dbgcontext.cpp b/opengl/libs/GLES2_dbg/src/dbgcontext.cpp index ff9be3c..9e77665 100644 --- a/opengl/libs/GLES2_dbg/src/dbgcontext.cpp +++ b/opengl/libs/GLES2_dbg/src/dbgcontext.cpp @@ -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; } |