diff options
Diffstat (limited to 'components/canvas')
-rw-r--r-- | components/canvas/webgl_thread.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/components/canvas/webgl_thread.rs b/components/canvas/webgl_thread.rs index dc549f63531..3e7cd9f6ab2 100644 --- a/components/canvas/webgl_thread.rs +++ b/components/canvas/webgl_thread.rs @@ -2280,7 +2280,6 @@ impl WebGLImpl { fn uniform_location(gl: &Gl, program_id: WebGLProgramId, name: &str, chan: &WebGLSender<i32>) { let location = gl.get_uniform_location(program_id.get(), &to_name_in_compiled_shader(name)); - assert!(location >= 0); chan.send(location).unwrap(); } |