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

@ -16,7 +16,7 @@ compositing = {path = "../compositing"}
cssparser = "0.23.0"
euclid = "0.17"
fnv = "1.0"
gleam = "0.4"
gleam = "0.4.29"
ipc-channel = "0.10"
log = "0.3.5"
num-traits = "0.1.32"

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