LibWeb/WebGL+Meta: Stub getSupportedExtensions() and getExtension()

This commit is contained in:
Aliaksandr Kalenik 2024-12-02 21:25:20 +01:00 committed by Alexander Kalenik
commit 7e78d7d332
Notes: github-actions[bot] 2024-12-03 22:36:38 +00:00
4 changed files with 20 additions and 2 deletions

View file

@ -150,4 +150,14 @@ void WebGLRenderingContext::allocate_painting_surface_if_needed()
context().allocate_painting_surface_if_needed();
}
Optional<Vector<String>> WebGLRenderingContext::get_supported_extensions() const
{
return {};
}
JS::Object* WebGLRenderingContext::get_extension(String const&)
{
return nullptr;
}
}