mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibWeb/WebGL: Preserve original bound objects to return in getParameter
Required by https://qwasm2.m-h.org.uk, which adds a custom `name` attribute to objects it generates. It then gets some of these objects out with getParameter, and expects the `name` attribute to be there.
This commit is contained in:
parent
c067271897
commit
8e453d5069
Notes:
github-actions[bot]
2025-01-08 14:59:41 +00:00
Author: https://github.com/Lubrsi
Commit: 8e453d5069
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2943
Reviewed-by: https://github.com/kalenikaliaksandr
4 changed files with 170 additions and 4 deletions
|
@ -13,6 +13,7 @@ namespace Web::WebGL {
|
|||
class WebGLRenderingContextBase {
|
||||
public:
|
||||
virtual GC::Cell const* gc_cell() const = 0;
|
||||
virtual void visit_edges(JS::Cell::Visitor&) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue