Skip to content

Commit afbcf85

Browse files
committed
Fix parameter name in WebGPU mode to match WebGL
1 parent 8196270 commit afbcf85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/webgpu/p5.RendererWebGPU.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3124,7 +3124,7 @@ ${hookUniformFields}}
31243124
{
31253125
vertex: {},
31263126
fragment: {
3127-
"vec4<f32> getColor": `(inputs: FilterInputs, tex: texture_2d<f32>, tex_sampler: sampler) -> vec4<f32> {
3127+
"vec4<f32> getColor": `(inputs: FilterInputs, canvasContent: texture_2d<f32>, canvasContent_sampler: sampler) -> vec4<f32> {
31283128
return textureSample(tex, tex_sampler, inputs.texCoord);
31293129
}`,
31303130
},

0 commit comments

Comments
 (0)