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/distort_effect.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/gpu/effects/distort_effect.cc') diff --git a/src/gpu/effects/distort_effect.cc b/src/gpu/effects/distort_effect.cc index 3bd4540..b7e27a7 100644 --- a/src/gpu/effects/distort_effect.cc +++ b/src/gpu/effects/distort_effect.cc @@ -5,13 +5,12 @@ #include "gpu/gpu.h" // --- DistortEffect --- -DistortEffect::DistortEffect(const GpuContext& ctx) - : PostProcessEffect(ctx) { +DistortEffect::DistortEffect(const GpuContext& ctx) : PostProcessEffect(ctx) { uniforms_ = gpu_create_buffer(ctx_.device, sizeof(float) * 6, WGPUBufferUsage_Uniform | WGPUBufferUsage_CopyDst); - pipeline_ = - create_post_process_pipeline(ctx_.device, ctx_.format, distort_shader_wgsl); + pipeline_ = create_post_process_pipeline(ctx_.device, ctx_.format, + distort_shader_wgsl); } void DistortEffect::render(WGPURenderPassEncoder pass, float t, float b, float i, float a) { -- cgit v1.2.3