mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
Bug 720467 - Update comments, which I forgot to commit.
This commit is contained in:
parent
e3a49aea93
commit
373b9ccd06
@ -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…
x
Reference in New Issue
Block a user