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

LibWeb/WebGL: Add extensions APIs to WebGLRenderingContextBase

These currently return nothing, as we don't currently support any WebGL
extensions.
This commit is contained in:
Luke Wilde 2022-06-04 04:33:00 +01:00 committed by Linus Groh
parent 076c9772a4
commit aa77c26b60
3 changed files with 28 additions and 0 deletions

View file

@ -23,6 +23,9 @@ public:
void present();
Optional<Vector<String>> get_supported_extensions() const;
JS::Object* get_extension(String const& name) const;
void clear(GLbitfield mask);
void clear_color(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);