Add support for DrawRangeElements in WebGL2

Adds initial support for the WebGL2 `DrawRangeElements` call.
This commit is contained in:
Istvan 2020-03-18 10:53:23 +01:00
parent c3ecf2ecef
commit bfa43fbeba
8 changed files with 216 additions and 108 deletions

View file

@ -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<_>>()