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
setAttributes before GL canvas is made #3552
setAttributes before GL canvas is made #3552
Conversation
A few things that aren't ideal: storing the @Spongman and @sanketsingh24 please review |
Now both the 2D and 3D renderer's modify and store the gl attributes in |
fixes #3356 |
This allows
smooth
,noSmooth
andsetAttributes
to be called before a WEBGL canvas is made. WebGL drawing contexts require their attributes to be set at initialization and reinitialization is not desirable in some cases so this allows attributes to be set before the canvas is first created.fixes #3061 & fixes #3180