mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Format script component
This commit is contained in:
parent
2ca7a13473
commit
c37a345dc9
357 changed files with 25485 additions and 18076 deletions
|
@ -64,16 +64,11 @@ impl WebGLExtension for ANGLEInstancedArrays {
|
|||
|
||||
impl ANGLEInstancedArraysMethods for ANGLEInstancedArrays {
|
||||
// https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/
|
||||
fn DrawArraysInstancedANGLE(
|
||||
&self,
|
||||
mode: u32,
|
||||
first: i32,
|
||||
count: i32,
|
||||
primcount: i32,
|
||||
) {
|
||||
fn DrawArraysInstancedANGLE(&self, mode: u32, first: i32, count: i32, primcount: i32) {
|
||||
handle_potential_webgl_error!(
|
||||
self.ctx,
|
||||
self.ctx.draw_arrays_instanced(mode, first, count, primcount)
|
||||
self.ctx
|
||||
.draw_arrays_instanced(mode, first, count, primcount)
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -88,7 +83,8 @@ impl ANGLEInstancedArraysMethods for ANGLEInstancedArrays {
|
|||
) {
|
||||
handle_potential_webgl_error!(
|
||||
self.ctx,
|
||||
self.ctx.draw_elements_instanced(mode, count, type_, offset, primcount)
|
||||
self.ctx
|
||||
.draw_elements_instanced(mode, count, type_, offset, primcount)
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue