mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Rustfmt has changed its default style :/
This commit is contained in:
parent
82fc6d9f49
commit
be69f9c3e6
207 changed files with 1200 additions and 1339 deletions
|
@ -1425,10 +1425,10 @@ impl WebGLImpl {
|
|||
(depth, gl::DEPTH_BUFFER_BIT),
|
||||
(stencil, gl::STENCIL_BUFFER_BIT),
|
||||
]
|
||||
.iter()
|
||||
.fold(0, |bits, &(enabled, bit)| {
|
||||
bits | if enabled { bit } else { 0 }
|
||||
});
|
||||
.iter()
|
||||
.fold(0, |bits, &(enabled, bit)| {
|
||||
bits | if enabled { bit } else { 0 }
|
||||
});
|
||||
|
||||
if state.scissor_test_enabled {
|
||||
gl.disable(gl::SCISSOR_TEST);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue