mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-27 21:42:53 +00:00
LibWeb/WebGL: Implement getSupportedExtensions()
This commit is contained in:
parent
af4f0c5a81
commit
145bb0f849
Notes:
github-actions[bot]
2024-12-13 08:20:40 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 145bb0f849
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2878
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/gmta
6 changed files with 90 additions and 6 deletions
|
@ -145,9 +145,9 @@ void WebGL2RenderingContext::allocate_painting_surface_if_needed()
|
|||
context().allocate_painting_surface_if_needed();
|
||||
}
|
||||
|
||||
Optional<Vector<String>> WebGL2RenderingContext::get_supported_extensions() const
|
||||
Optional<Vector<String>> WebGL2RenderingContext::get_supported_extensions()
|
||||
{
|
||||
return {};
|
||||
return context().get_supported_extensions();
|
||||
}
|
||||
|
||||
JS::Object* WebGL2RenderingContext::get_extension(String const&)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue