mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +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.
|
// TODO(emilio): Move this logic to a validator.
|
||||||
fn validate_tex_image_2d_data(&self,
|
fn validate_tex_image_2d_data(&self,
|
||||||
width: u32,
|
width: u32,
|
||||||
height: u32,
|
height: u32,
|
||||||
format: TexFormat,
|
format: TexFormat,
|
||||||
data_type: TexDataType,
|
data_type: TexDataType,
|
||||||
unpacking_alignment: u32,
|
unpacking_alignment: u32,
|
||||||
data: &Option<ArrayBufferView>)
|
data: &Option<ArrayBufferView>)
|
||||||
-> Result<u32, ()> {
|
-> Result<u32, ()> {
|
||||||
let element_size = data_type.element_size();
|
let element_size = data_type.element_size();
|
||||||
let components_per_element = data_type.components_per_element();
|
let components_per_element = data_type.components_per_element();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue