Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cfa50cd authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

Merge "fix another bug that prevented the gl debugger to work"

parents 95bfc9dd a45c5479
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}