mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Format script component
This commit is contained in:
parent
2ca7a13473
commit
c37a345dc9
357 changed files with 25485 additions and 18076 deletions
|
@ -30,14 +30,19 @@ impl WebGLShaderPrecisionFormat {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new(window: &Window,
|
||||
range_min: i32,
|
||||
range_max: i32,
|
||||
precision: i32) -> DomRoot<WebGLShaderPrecisionFormat> {
|
||||
pub fn new(
|
||||
window: &Window,
|
||||
range_min: i32,
|
||||
range_max: i32,
|
||||
precision: i32,
|
||||
) -> DomRoot<WebGLShaderPrecisionFormat> {
|
||||
reflect_dom_object(
|
||||
Box::new(WebGLShaderPrecisionFormat::new_inherited(range_min, range_max, precision)),
|
||||
Box::new(WebGLShaderPrecisionFormat::new_inherited(
|
||||
range_min, range_max, precision,
|
||||
)),
|
||||
window,
|
||||
WebGLShaderPrecisionFormatBinding::Wrap)
|
||||
WebGLShaderPrecisionFormatBinding::Wrap,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue