diff options
Diffstat (limited to 'components/compositing/gl.rs')
-rw-r--r-- | components/compositing/gl.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/compositing/gl.rs b/components/compositing/gl.rs index 6637ef203ea..59c1225cd91 100644 --- a/components/compositing/gl.rs +++ b/components/compositing/gl.rs @@ -14,7 +14,7 @@ pub struct RenderTargetInfo { } pub fn initialize_png( - gl: &gl::Gl, + gl: &dyn gl::Gl, width: DeviceUintLength, height: DeviceUintLength, ) -> RenderTargetInfo { @@ -80,7 +80,7 @@ pub fn initialize_png( } pub fn draw_img( - gl: &gl::Gl, + gl: &dyn gl::Gl, render_target_info: RenderTargetInfo, width: DeviceUintLength, height: DeviceUintLength, |