diff options
author | est31 <MTest31@outlook.com> | 2019-06-02 07:12:44 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2019-06-03 04:18:12 +0200 |
commit | e64de8d90acba327d4276f5b872d2b6eaa1bde9c (patch) | |
tree | 6de0b941b63273736dcf31e6aa8ed60e5b07cbb7 /components/canvas/gl_context.rs | |
parent | 8b6ed3d1823876fa7e3c5ff6b1a9036aa22a72f4 (diff) | |
download | servo-e64de8d90acba327d4276f5b872d2b6eaa1bde9c.tar.gz servo-e64de8d90acba327d4276f5b872d2b6eaa1bde9c.zip |
Remove unused code from a bunch of crates
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, |