-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[RenderPixi] Can't pass options for PIXI.WebGLRenderer #193
Labels
Comments
You can now pass |
@liabru Cool!! Thanks for the fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In case of working with high density displays like retina, we have to pass the "resolution" (and optionally "autoResize") option to PIXI.WebGLRenderer. But it seems we don't have ways to pass it, or any other option values described in PIXI's document.
https:/liabru/matter-js/blob/master/src/render/RenderPixi.js#L53-L58
I think there should be all option parameters filled with default values and we should be able to overwrite them by passing a "options" argument for RenderPixi.create().
Thanks!
The text was updated successfully, but these errors were encountered: