mirror of
https://github.com/servo/servo.git
synced 2025-08-15 18:35:33 +01:00
Implement gl.getParameter(gl.ALIASED_LINE_WIDTH_RANGE)
This commit is contained in:
parent
be4ac6c4cd
commit
36c0e387dd
10 changed files with 31 additions and 24 deletions
|
@ -16,7 +16,7 @@ compositing = {path = "../compositing"}
|
|||
cssparser = "0.23.0"
|
||||
euclid = "0.17"
|
||||
fnv = "1.0"
|
||||
gleam = "0.4.29"
|
||||
gleam = "0.4.34"
|
||||
ipc-channel = "0.10"
|
||||
log = "0.4"
|
||||
num-traits = "0.1.32"
|
||||
|
|
|
@ -893,8 +893,10 @@ 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()
|
||||
WebGLCommand::AliasedPointSizeRange(sender) =>
|
||||
sender.send(ctx.gl().alias_point_size_range()).unwrap(),
|
||||
WebGLCommand::AliasedLineWidthRange(sender) => {
|
||||
sender.send(ctx.gl().alias_line_width_range()).unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue