mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove assertion for negative value from get_uniform_location
closes #26150
This commit is contained in:
parent
455a99ca8d
commit
865b538115
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue