diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2019-10-15 12:57:00 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2019-11-01 08:47:11 -0500 |
commit | a358bca7667a2da42024aca4ef619dad6d812862 (patch) | |
tree | acf2cc228afdf6875931d546cc08ec29dfb05362 /components/script/dom/webgl2renderingcontext.rs | |
parent | 48d918dcdead5fcf38dbda1dfc0d0ca8284108c2 (diff) | |
download | servo-a358bca7667a2da42024aca4ef619dad6d812862.tar.gz servo-a358bca7667a2da42024aca4ef619dad6d812862.zip |
Use surfman for managing GL surfaces
Co-authored-by: Alan Jeffrey <ajeffrey@mozilla.com>
Co-authored-by: Zakor Gyula <gyula.zakor@h-lab.eu>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom/webgl2renderingcontext.rs')
-rw-r--r-- | components/script/dom/webgl2renderingcontext.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webgl2renderingcontext.rs b/components/script/dom/webgl2renderingcontext.rs index 63cfd0bc530..4c7d9fb857a 100644 --- a/components/script/dom/webgl2renderingcontext.rs +++ b/components/script/dom/webgl2renderingcontext.rs @@ -1426,6 +1426,6 @@ impl LayoutCanvasWebGLRenderingContextHelpers for LayoutDom<WebGL2RenderingConte #[allow(unsafe_code)] unsafe fn canvas_data_source(&self) -> HTMLCanvasDataSource { let this = &*self.unsafe_get(); - HTMLCanvasDataSource::WebGL((*this.base.to_layout().unsafe_get()).layout_handle()) + (*this.base.to_layout().unsafe_get()).layout_handle() } } |