mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 720467 - Update comments, which I forgot to commit.
This commit is contained in:
parent
b40c38d30f
commit
63d8193c1c
@ -366,15 +366,19 @@ gfxPlatform::Shutdown()
|
||||
gPlatform->mFontPrefsObserver = nsnull;
|
||||
}
|
||||
|
||||
// Shut down the default GL context provider.
|
||||
mozilla::gl::GLContextProvider::Shutdown();
|
||||
|
||||
// We always have OSMesa at least potentially available; shut it down too.
|
||||
mozilla::gl::GLContextProviderOSMesa::Shutdown();
|
||||
|
||||
#if defined(XP_WIN)
|
||||
// The above shutdown call shuts down the default context provider for the
|
||||
// platform. Windows is a "special snowflake", though, and has three context
|
||||
// providers available, so we have to shut all of them down.
|
||||
// We should only support one GL provider on Windows; then, this could go
|
||||
// away. We currently support WGL for WebGL on Optimus.
|
||||
// The above shutdown calls operate on the available context providers on
|
||||
// most platforms. Windows is a "special snowflake", though, and has three
|
||||
// context providers available, so we have to shut all of them down.
|
||||
// We should only support the default GL provider on Windows; then, this
|
||||
// could go away. Unfortunately, we currently support WGL (the default) for
|
||||
// WebGL on Optimus.
|
||||
mozilla::gl::GLContextProviderEGL::Shutdown();
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user