diff options
| author | 2011-09-01 17:52:21 -0700 | |
|---|---|---|
| committer | 2011-09-01 17:52:21 -0700 | |
| commit | 804b532a624b602acf344aa436340a6016c2f0af (patch) | |
| tree | cb1c0b16fec8aabe3c54161ed75835d8e5e970dd | |
| parent | f705f788b5a4ba8c8b92bcd237534eb55c464f57 (diff) | |
| parent | 4222092bd5650aa353caad4ef67689498564e592 (diff) | |
Merge "fix another bug that prevented the gl debugger to work"
| -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 ff9be3cef32b..9e77665eba52 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; } |