diff options
Diffstat (limited to 'src/gpu/effects/distort_effect.cc')
| -rw-r--r-- | src/gpu/effects/distort_effect.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/effects/distort_effect.cc b/src/gpu/effects/distort_effect.cc index 1f2b8fc..d9aa308 100644 --- a/src/gpu/effects/distort_effect.cc +++ b/src/gpu/effects/distort_effect.cc @@ -11,7 +11,8 @@ DistortEffect::DistortEffect(WGPUDevice device, WGPUQueue queue, uniforms_ = gpu_create_buffer(device_, sizeof(float) * 4, WGPUBufferUsage_Uniform | WGPUBufferUsage_CopyDst); - pipeline_ = create_post_process_pipeline(device_, format, distort_shader_wgsl); + pipeline_ = + create_post_process_pipeline(device_, format, distort_shader_wgsl); } void DistortEffect::render(WGPURenderPassEncoder pass, float t, float b, float i, float a) { |
