diff options
Diffstat (limited to 'components/canvas/webgl_mode/inprocess.rs')
-rw-r--r-- | components/canvas/webgl_mode/inprocess.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/components/canvas/webgl_mode/inprocess.rs b/components/canvas/webgl_mode/inprocess.rs index 2ee1db72971..9c0823c9da7 100644 --- a/components/canvas/webgl_mode/inprocess.rs +++ b/components/canvas/webgl_mode/inprocess.rs @@ -11,7 +11,6 @@ use canvas_traits::webgl::{WebGLSender, WebVRCommand, WebVRRenderHandler}; use euclid::Size2D; use fnv::FnvHashMap; use gleam::gl; -use gleam::gl::Gl; use servo_config::prefs::PREFS; use std::rc::Rc; @@ -113,7 +112,12 @@ impl WebGLExternalImageApi for WebGLExternalImages { struct WebVRRenderWrapper(Box<dyn WebVRRenderHandler>); impl WebVRRenderHandler for WebVRRenderWrapper { - fn handle(&mut self, gl: &dyn Gl, command: WebVRCommand, texture: Option<(u32, Size2D<i32>)>) { + fn handle( + &mut self, + gl: &dyn gl::Gl, + command: WebVRCommand, + texture: Option<(u32, Size2D<i32>)>, + ) { self.0.handle(gl, command, texture); } } |