diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-08 07:40:29 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-08 07:40:29 +0100 |
| commit | c9195f997f3e797f03ab90464e4158717198a167 (patch) | |
| tree | 331304f42870246efdc64cc97ad42de59444ef3a /src/gpu/effect.cc | |
| parent | b8e6929cafa41681f0b27ac104c9cf1d4e510837 (diff) | |
style: Apply clang-format to all source files
Diffstat (limited to 'src/gpu/effect.cc')
| -rw-r--r-- | src/gpu/effect.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/effect.cc b/src/gpu/effect.cc index ea5230d..a1b45f1 100644 --- a/src/gpu/effect.cc +++ b/src/gpu/effect.cc @@ -164,8 +164,7 @@ void MainSequence::init(const GpuContext& ctx, int width, int height) { height_ = height; create_framebuffers(width, height); - passthrough_effect_ = - std::make_unique<PassthroughEffect>(gpu_ctx); + passthrough_effect_ = std::make_unique<PassthroughEffect>(gpu_ctx); passthrough_effect_->resize(width, height); for (ActiveSequence& entry : sequences_) { @@ -220,7 +219,8 @@ void MainSequence::resize(int width, int height) { void MainSequence::render_frame(float global_time, float beat, float peak, float aspect_ratio, WGPUSurface surface) { - WGPUCommandEncoder encoder = wgpuDeviceCreateCommandEncoder(gpu_ctx.device, nullptr); + WGPUCommandEncoder encoder = + wgpuDeviceCreateCommandEncoder(gpu_ctx.device, nullptr); std::vector<SequenceItem*> scene_effects; std::vector<SequenceItem*> post_effects; |
