diff options
Diffstat (limited to 'components/canvas/gl_context.rs')
-rw-r--r-- | components/canvas/gl_context.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/components/canvas/gl_context.rs b/components/canvas/gl_context.rs index 46434c24e81..844b60ba44d 100644 --- a/components/canvas/gl_context.rs +++ b/components/canvas/gl_context.rs @@ -147,17 +147,6 @@ impl GLContextWrapper { } } - pub fn unbind(&self) { - match *self { - GLContextWrapper::Native(ref ctx) => { - ctx.unbind().unwrap(); - }, - GLContextWrapper::OSMesa(ref ctx) => { - ctx.unbind().unwrap(); - }, - } - } - pub fn apply_command( &self, cmd: WebGLCommand, |