Skip to content

Commit

Permalink
Merge pull request #6682 from asukaminato0721/Framebuffer-doctype
Browse files Browse the repository at this point in the history
add missing return type
  • Loading branch information
davepagurek committed Jan 2, 2024
2 parents 7c06171 + 0e7ba53 commit fe33439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/p5.Graphics.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ p5.Graphics = class extends p5.Element {
* createFramebuffer function.</a>
*
* @method createFramebuffer
* @return {p5.Framebuffer}
*/
createFramebuffer(options) {
return new p5.Framebuffer(this, options);
Expand Down
1 change: 1 addition & 0 deletions src/core/rendering.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ p5.prototype.createGraphics = function(w, h, ...args) {
*
* @method createFramebuffer
* @param {Object} [options] An optional object with configuration
* @return {p5.Framebuffer}
*
* @example
* <div>
Expand Down

0 comments on commit fe33439

Please sign in to comment.