Searched refs:current_glctx_tls (Results 1 – 2 of 2) sorted by relevance
341 SDL_TLSID current_glctx_tls; member
514 _this->current_glctx_tls = SDL_TLSCreate(); in SDL_VideoInit()3283 SDL_TLSSet(_this->current_glctx_tls, ctx, NULL); in SDL_GL_CreateContext()3314 SDL_TLSSet(_this->current_glctx_tls, ctx, NULL); in SDL_GL_MakeCurrent()3336 return (SDL_GLContext)SDL_TLSGet(_this->current_glctx_tls); in SDL_GL_GetCurrentContext()