-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
this._renderer / window._renderer is undefined in dev-2.0 #7648
Comments
@limzykenneth we were talking in #7564 about whether or not |
I think in this use case of I see that the implementation only uses a reference to |
I agree that using Regarding |
I'm ok with just using /**
* @property {p5} instance
* @for p5
*/ I'm not 100% sure if the |
Most appropriate sub-area of p5.js?
p5.js version
2.0 beta
Web browser and version
chrome, firefox
Operating system
linux
Steps to reproduce this
Steps:
The problem here is, in our newer version of p5.js we don't have _renderer visible on the window. Which probably means the reference example of
copyContext()
https://p5js.org/reference/p5.Shader/copyToContext/ (2nd example) won't work on our newer 2.0 version.For the sake of writing the example code, we can assume we'll make window work again.
The text was updated successfully, but these errors were encountered: