1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

LibWeb/WebGL: Add WebGLRenderingContextBase.isContextLost()

This commit is contained in:
Luke Wilde 2022-06-04 04:38:22 +01:00 committed by Linus Groh
parent 39a212b54f
commit 528c7bea03
3 changed files with 10 additions and 0 deletions

View file

@ -18,6 +18,8 @@ interface mixin WebGLRenderingContextBase {
// IDL code generator. This also allows us to handle the return type ourselves instead of adding the complexity of the
// code generator working out the return type and returning the appropriate value to return on context loss.
boolean isContextLost();
sequence<DOMString>? getSupportedExtensions();
object? getExtension(DOMString name);