Implement gl.getParameter(gl.ALIASED_POINT_SIZE_RANGE)

This commit is contained in:
Anthony Ramine 2018-03-24 16:12:18 +01:00
parent 2ab34d5969
commit d6ebbd3e17
13 changed files with 230 additions and 32 deletions

View file

@ -892,6 +892,9 @@ impl WebGLImpl {
ctx.gl().delete_vertex_arrays(&[id.get()]),
WebGLCommand::BindVertexArray(id) =>
ctx.gl().bind_vertex_array(id.map_or(0, WebGLVertexArrayId::get)),
WebGLCommand::AliasedPointSizeRange(sender) => {
sender.send(ctx.gl().alias_point_size_range()).unwrap()
}
}
// TODO: update test expectations in order to enable debug assertions