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

Commit 4222092b authored by Mathias Agopian's avatar Mathias Agopian
Browse files

fix another bug that prevented the gl debugger to work

we didn't set the debug tls properly

Change-Id: Iad9cc5b5d230a8eb7f680c4b70925c5e43e73051
parent 3b583229
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;
}