diff --git a/components/canvas/webgl_thread.rs b/components/canvas/webgl_thread.rs index dc549f63531a..3e7cd9f6ab21 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) { let location = gl.get_uniform_location(program_id.get(), &to_name_in_compiled_shader(name)); - assert!(location >= 0); chan.send(location).unwrap(); }