mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add support for DrawRangeElements in WebGL2
Adds initial support for the WebGL2 `DrawRangeElements` call.
This commit is contained in:
parent
c3ecf2ecef
commit
bfa43fbeba
8 changed files with 216 additions and 108 deletions
|
@ -2178,6 +2178,7 @@ impl WebGLImpl {
|
|||
base_name: from_name_in_compiled_shader(&name).into(),
|
||||
size: if is_array { Some(size) } else { None },
|
||||
type_,
|
||||
bind_index: None,
|
||||
}
|
||||
})
|
||||
.collect::<Vec<_>>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue