mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibWeb/WebGL: Add WebGLRenderingContextBase.canvas
This commit is contained in:
@@ -77,6 +77,11 @@ HTML::HTMLCanvasElement const& WebGLRenderingContextBase::canvas_element() const
|
||||
return ref_count_target();
|
||||
}
|
||||
|
||||
NonnullRefPtr<HTML::HTMLCanvasElement> WebGLRenderingContextBase::canvas_for_binding() const
|
||||
{
|
||||
return canvas_element();
|
||||
}
|
||||
|
||||
void WebGLRenderingContextBase::needs_to_present()
|
||||
{
|
||||
m_should_present = true;
|
||||
|
||||
Reference in New Issue
Block a user