diff --git a/src/typography/loading_displaying.js b/src/typography/loading_displaying.js index 09399bfdda..ff9bff7093 100644 --- a/src/typography/loading_displaying.js +++ b/src/typography/loading_displaying.js @@ -366,8 +366,8 @@ p5.prototype.text = function(str, x, y, maxWidth, maxHeight) { * * // WEBGL Example * function preload() { - * createCanvas(100, 100, WEBGL); - * textFont('Courier New'); // In WebGL textFont has to be executed in preload + * createCanvas(100, 100, WEBGL); + * textFont('Courier New'); // In WebGL textFont has to be executed in preload * } * * function setup() {