diff --git a/src/webgl/p5.Geometry.js b/src/webgl/p5.Geometry.js index 51b3ea42ca..38608e6e69 100644 --- a/src/webgl/p5.Geometry.js +++ b/src/webgl/p5.Geometry.js @@ -1954,7 +1954,7 @@ p5.Geometry = class Geometry { * * function setup() { * createCanvas(100, 100, WEBGL); - * myShader = materialShader().modify({ + * const myShader = materialShader().modify({ * vertexDeclarations:`in float aRoughness; * out float vRoughness;`, * fragmentDeclarations: 'in float vRoughness;',