From c9195f997f3e797f03ab90464e4158717198a167 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 8 Feb 2026 07:40:29 +0100 Subject: style: Apply clang-format to all source files --- src/gpu/effects/particles_effect.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/gpu/effects/particles_effect.cc') diff --git a/src/gpu/effects/particles_effect.cc b/src/gpu/effects/particles_effect.cc index d9f8f2a..f25009b 100644 --- a/src/gpu/effects/particles_effect.cc +++ b/src/gpu/effects/particles_effect.cc @@ -6,8 +6,7 @@ #include // --- ParticlesEffect --- -ParticlesEffect::ParticlesEffect(const GpuContext& ctx) - : Effect(ctx) { +ParticlesEffect::ParticlesEffect(const GpuContext& ctx) : Effect(ctx) { uniforms_ = gpu_create_buffer(ctx_.device, sizeof(float) * 4, WGPUBufferUsage_Uniform | WGPUBufferUsage_CopyDst); @@ -23,8 +22,8 @@ ParticlesEffect::ParticlesEffect(const GpuContext& ctx) ResourceBinding rb[] = { {particles_buffer_, WGPUBufferBindingType_ReadOnlyStorage}, {uniforms_, WGPUBufferBindingType_Uniform}}; - render_pass_ = - gpu_create_render_pass(ctx_.device, ctx_.format, particle_render_wgsl, rb, 2); + render_pass_ = gpu_create_render_pass(ctx_.device, ctx_.format, + particle_render_wgsl, rb, 2); render_pass_.vertex_count = 6; render_pass_.instance_count = NUM_PARTICLES; } -- cgit v1.2.3