Skip to content

Commit 39afe55

Browse files
committed
Fmt.
1 parent 03ff673 commit 39afe55

File tree

1 file changed

+7
-3
lines changed
  • crates/processing_render/src/render

1 file changed

+7
-3
lines changed

crates/processing_render/src/render/mod.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,8 @@ pub fn flush_draw_commands(
481481
// Point is rendered as a filled circle using stroke color and weight
482482
if let Some(color) = state.stroke_color {
483483
let d = state.stroke_weight;
484-
let material_key = material_key_with_color(&state.material_key, color, state.blend_state);
484+
let material_key =
485+
material_key_with_color(&state.material_key, color, state.blend_state);
485486

486487
if needs_batch(&batch, &state, &material_key) {
487488
start_batch(
@@ -705,8 +706,11 @@ pub fn flush_draw_commands(
705706
// Each vertex rendered as a filled circle
706707
if let Some(color) = state.stroke_color {
707708
let d = state.stroke_weight;
708-
let material_key =
709-
material_key_with_color(&state.material_key, color, state.blend_state);
709+
let material_key = material_key_with_color(
710+
&state.material_key,
711+
color,
712+
state.blend_state,
713+
);
710714
if needs_batch(&batch, &state, &material_key) {
711715
start_batch(
712716
&mut res,

0 commit comments

Comments
 (0)