Fix misspelled "get_suported_extensions" function

closes #21122
This commit is contained in:
Daniel Alley 2020-04-06 13:50:49 -04:00
parent 50ea9fc02d
commit d0890db479
2 changed files with 2 additions and 2 deletions

View file

@ -178,7 +178,7 @@ impl WebGLExtensions {
.insert(name, Box::new(TypedWebGLExtensionWrapper::<T>::new()));
}
pub fn get_suported_extensions(&self) -> Vec<&'static str> {
pub fn get_supported_extensions(&self) -> Vec<&'static str> {
self.extensions
.borrow()
.iter()

View file

@ -1915,7 +1915,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
fn GetSupportedExtensions(&self) -> Option<Vec<DOMString>> {
self.extension_manager
.init_once(|| self.get_gl_extensions());
let extensions = self.extension_manager.get_suported_extensions();
let extensions = self.extension_manager.get_supported_extensions();
Some(
extensions
.iter()