You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// no api lock; it just sets an atomic pointer at the moment
2288
2304
ALCbooleanalcMakeContextCurrent(ALCcontext*ctx)
2289
2305
{
2290
2306
FIXME("maybe just use the api lock");
2291
2307
SDL_SetAtomicPointer(¤t_context, ctx);
2292
-
FIXME("any reason this might return ALC_FALSE?");
2308
+
FIXME("any reason this might return ALC_FALSE?"); // technically this could return false for an invalid non-NULL context but we don't keep a list of created contexts.
2309
+
if (SDL_GetAtomicInt(&tls_ctx_used)) { // we don't want to create all the TLS infrastructure until someone has actually used ALC_EXT_thread_local_context, so query first.
0 commit comments