Skip to content

Commit

Permalink
fix(WebGPU): fix issue with stick mapper on webgpu
Browse files Browse the repository at this point in the history
Fix due to changes in WGSL, was erroring otherwise
  • Loading branch information
martinken committed Sep 16, 2021
1 parent 0344ba7 commit 446afcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Rendering/WebGPU/StickMapper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn main(
)
//VTK::IOStructs::Output
{
let offsetsArray: array<vec3<f32>, 12> = array<vec3<f32>, 12>(
var offsetsArray: array<vec3<f32>, 12> = array<vec3<f32>, 12>(
vec3<f32>(-1.0, -1.0, -1.0),
vec3<f32>(1.0, -1.0, -1.0),
vec3<f32>(1.0, -1.0, 1.0),
Expand Down

0 comments on commit 446afcb

Please # to comment.