pex-context icon indicating copy to clipboard operation
pex-context copied to clipboard

Assert if cmd.pass not null

Open vorg opened this issue 6 years ago • 0 comments

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)

vorg avatar Aug 20 '19 11:08 vorg