diff options
Diffstat (limited to 'src/effects/scene1_effect.cc')
| -rw-r--r-- | src/effects/scene1_effect.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/effects/scene1_effect.cc b/src/effects/scene1_effect.cc index c75e511..3d6df3b 100644 --- a/src/effects/scene1_effect.cc +++ b/src/effects/scene1_effect.cc @@ -5,7 +5,8 @@ #include "gpu/gpu.h" Scene1Effect::Scene1Effect(const GpuContext& ctx) : Effect(ctx) { - ResourceBinding bindings[] = {{uniforms_.get(), WGPUBufferBindingType_Uniform}}; + ResourceBinding bindings[] = { + {uniforms_.get(), WGPUBufferBindingType_Uniform}}; pass_ = gpu_create_render_pass(ctx_.device, ctx_.format, scene1_shader_wgsl, bindings, 1); pass_.vertex_count = 3; |
