mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix indentation
This commit is contained in:
parent
cb85a95478
commit
c42127b683
1 changed files with 6 additions and 6 deletions
|
@ -825,12 +825,12 @@ impl WebGLRenderingContext {
|
|||
|
||||
// TODO(emilio): Move this logic to a validator.
|
||||
fn validate_tex_image_2d_data(&self,
|
||||
width: u32,
|
||||
height: u32,
|
||||
format: TexFormat,
|
||||
data_type: TexDataType,
|
||||
unpacking_alignment: u32,
|
||||
data: &Option<ArrayBufferView>)
|
||||
width: u32,
|
||||
height: u32,
|
||||
format: TexFormat,
|
||||
data_type: TexDataType,
|
||||
unpacking_alignment: u32,
|
||||
data: &Option<ArrayBufferView>)
|
||||
-> Result<u32, ()> {
|
||||
let element_size = data_type.element_size();
|
||||
let components_per_element = data_type.components_per_element();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue