pex-gl / pex-context

Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
http://pex-gl.github.io/pex-context/
MIT License
160 stars 12 forks source link

Verify command props #33

Closed vorg closed 6 years ago

vorg commented 6 years ago

E.g. it should be illegal to call

ctx.submit({
 pipeline: {},
 primitive: ctx.Primitive.Lines
})

as primitive belongs to pipeline

vorg commented 6 years ago

Fixed in 2.3.0