mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Auto merge of #26163 - dralley:remove-assertion, r=jdm
Remove assertion for negative value from get_uniform_location closes #26150 - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #26150 (GitHub issue number if applicable) - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___
This commit is contained in:
commit
e43cadbc32
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