mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Properly clamp arguments to WebGLRenderingContext.depthRange
This commit is contained in:
parent
7b4d66b621
commit
fb290e9c9e
3 changed files with 6 additions and 10 deletions
|
@ -177,7 +177,7 @@ pub enum WebGLCommand {
|
|||
FrontFace(u32),
|
||||
DepthFunc(u32),
|
||||
DepthMask(bool),
|
||||
DepthRange(f64, f64),
|
||||
DepthRange(f32, f32),
|
||||
Enable(u32),
|
||||
Disable(u32),
|
||||
CompileShader(WebGLShaderId, String),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue