diff options
author | Peter Hall <peterjoel@gmail.com> | 2019-02-27 19:00:17 +0000 |
---|---|---|
committer | Peter Hall <peterjoel@gmail.com> | 2019-02-27 19:27:05 +0000 |
commit | 1e9de470eaf5677c03677e18ce7931ea48370d84 (patch) | |
tree | 9c32d9d365386596b161389e754947f7fbdc99fc /components/canvas/webgl_mode | |
parent | 3d32efad2a804403dc0b953cb0c42ce3d40367c1 (diff) | |
download | servo-1e9de470eaf5677c03677e18ce7931ea48370d84.tar.gz servo-1e9de470eaf5677c03677e18ce7931ea48370d84.zip |
Fixed inconsistency in import of gl::Gl
All other uses of `Gl` in this file use the qualified path `gl::Gl`.
Diffstat (limited to 'components/canvas/webgl_mode')
-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); } } |