Skip to content
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

DomElement parameter overrides type parameter only if the element does not support default or set renderer type. #161

Merged
merged 1 commit into from
Dec 11, 2015

Conversation

vwochnik
Copy link
Contributor

@vwochnik vwochnik commented Dec 8, 2015

This PR makes it possible to declare the WebGLRenderer but at the same time have a domElement of type canvas without the library overriding the type to CanvasRenderer.

DomElement parameter overrides type parameter only if the element does not support default or set renderer type.
jonobr1 added a commit that referenced this pull request Dec 11, 2015
DomElement parameter overrides type parameter only if the element does not support default or set renderer type.
@jonobr1 jonobr1 merged commit cae5c1a into jonobr1:dev Dec 11, 2015
@jonobr1
Copy link
Owner

jonobr1 commented Dec 11, 2015

Great find. Thanks for the PR!

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.

2 participants