diff options
Diffstat (limited to 'gfx/gl/GLContext.h')
-rw-r--r-- | gfx/gl/GLContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/gl/GLContext.h b/gfx/gl/GLContext.h index d88b96019f..41dbe92bee 100644 --- a/gfx/gl/GLContext.h +++ b/gfx/gl/GLContext.h @@ -185,6 +185,8 @@ class GLContext : public GenericAtomicRefCounted, public SupportsWeakPtr { bool mImplicitMakeCurrent = false; bool mUseTLSIsCurrent; + static void ResetTLSCurrentContext(); + class TlsScope final { const WeakPtr<GLContext> mGL; const bool mWasTlsOk; |