diff options
author | Daniel Alley <dalley@redhat.com> | 2020-04-09 22:25:57 -0400 |
---|---|---|
committer | Daniel Alley <dalley@redhat.com> | 2020-04-09 22:25:57 -0400 |
commit | 865b538115ec72128e4b6609bf988de7d13f8c4a (patch) | |
tree | f98af69f1993d83ec90f3e5a1a4b068cfe060f5d /components/canvas/webgl_thread.rs | |
parent | 455a99ca8db4426c2f0f33b92846f0d8902a62b7 (diff) | |
download | servo-865b538115ec72128e4b6609bf988de7d13f8c4a.tar.gz servo-865b538115ec72128e4b6609bf988de7d13f8c4a.zip |
Remove assertion for negative value from get_uniform_location
closes #26150
Diffstat (limited to 'components/canvas/webgl_thread.rs')
-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(); } |