summaryrefslogtreecommitdiff
path: root/src/gpu/effect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/effect.cc')
-rw-r--r--src/gpu/effect.cc6
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;