1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:07:34 +00:00

LibWeb: Add the ability to retrieve a WebGL context from getContext

This commit is contained in:
Luke Wilde 2022-06-04 04:22:42 +01:00 committed by Linus Groh
parent b0c2aee2e4
commit 58f882200c
19 changed files with 903 additions and 21 deletions

View file

@ -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;
}