Skip to content

Fixes offscreen rendering bug #5003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2021
Merged

Conversation

choxi
Copy link
Contributor

@choxi choxi commented Jan 18, 2021

Resolves #5000

Changes:

  • p5.Graphics wraps the renderer but doesn't initialize accessibleOutputs property
  • This moves the accessibleOutputs initialize into initializeInstanceVariables since that's applied on the default renderer and p5.Graphics

PR Checklist

  • npm run lint passes
  • [Inline documentation] is included / updated
  • [Unit tests] are included / updated

  - p5.Graphics wraps the renderer but doesn't initialize
    `accessibleOutputs` property
  - This moves the `accessibleOutputs` initialize into
    `initializeInstanceVariables` since that's applied
    on the default renderer and p5.Graphics
@welcome
Copy link

welcome bot commented Jan 18, 2021

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

@lmccart lmccart requested a review from lm-n January 19, 2021 01:05
@stalgiag
Copy link
Contributor

stalgiag commented Jan 19, 2021

I'll wait for @lm-n to review since I don't know enough about accessibleOutputs but I just wanted to say thank you for jumping on this so quickly @choxi !

Copy link
Member

@lm-n lm-n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks @choxi 🌱 🌱 @stalgiag ready to merge 😄

@choxi
Copy link
Contributor Author

choxi commented Jan 19, 2021

@stalgiag @lm-n no problem! Thanks for the quick responses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Offscreen WebGL Rendering Throws Error
3 participants