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

Assert if cmd.pass not null #73

Open
vorg opened this issue Aug 20, 2019 · 0 comments
Open

Assert if cmd.pass not null #73

vorg opened this issue Aug 20, 2019 · 0 comments

Comments

@vorg
Copy link
Member

vorg commented Aug 20, 2019

Submitting command with null or undefined pass will overwrite parent state and prevents inheriting framebuffer from state which will result in rendering to last used FBO instead of e.g. screen.

const cmdState = this.mergeCommands(parentState, cmd, false)

https://github.com/pex-gl/pex-context/blob/master/index.js#L1093)

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

No branches or pull requests

1 participant