mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibWeb/WebGL: Don't crash on unknown getParameter on the context
And allow the implementation to set the error code.
This commit is contained in:
parent
af536e1192
commit
56d45282ea
Notes:
github-actions[bot]
2024-12-06 14:36:34 +00:00
Author: https://github.com/ADKaster
Commit: 56d45282ea
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2809
Reviewed-by: https://github.com/kalenikaliaksandr ✅
3 changed files with 6 additions and 3 deletions
|
@ -72,7 +72,7 @@ private:
|
|||
|
||||
GLenum m_error { 0 };
|
||||
|
||||
void set_error(GLenum error);
|
||||
virtual void set_error(GLenum error) override;
|
||||
};
|
||||
|
||||
void fire_webgl_context_event(HTML::HTMLCanvasElement& canvas_element, FlyString const& type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue