mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 592769 - EGL and WGL context providers crash on exit because they forget to delete the global context before the glue library dies - r=mattwoodrow, a=blocking-beta7
This commit is contained in:
parent
500e111cce
commit
868cedad20
@ -1608,6 +1608,7 @@ GLContextProviderEGL::GetGlobalContext()
|
|||||||
void
|
void
|
||||||
GLContextProviderEGL::Shutdown()
|
GLContextProviderEGL::Shutdown()
|
||||||
{
|
{
|
||||||
|
gGlobalContext = nsnull;
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* namespace gl */
|
} /* namespace gl */
|
||||||
|
@ -741,6 +741,7 @@ GLContextProviderWGL::GetGlobalContext()
|
|||||||
void
|
void
|
||||||
GLContextProviderWGL::Shutdown()
|
GLContextProviderWGL::Shutdown()
|
||||||
{
|
{
|
||||||
|
gGlobalContext = nsnull;
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* namespace gl */
|
} /* namespace gl */
|
||||||
|
Loading…
Reference in New Issue
Block a user