mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
LibWeb: Add the ability to retrieve a WebGL context from getContext
This commit is contained in:
parent
b0c2aee2e4
commit
58f882200c
19 changed files with 903 additions and 21 deletions
|
@ -48,6 +48,10 @@ static bool is_wrappable_type(Type const& type)
|
|||
return true;
|
||||
if (type.name == "AbortSignal")
|
||||
return true;
|
||||
if (type.name == "CanvasRenderingContext2D")
|
||||
return true;
|
||||
if (type.name == "WebGLRenderingContext")
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue