cginternals / webgl-operate

A TypeScript based WebGL rendering framework.
https://webgl-operate.org
MIT License
166 stars 25 forks source link

unbind framebuffer after calling drawBuffers #286

Closed lukaswagner closed 1 year ago

lukaswagner commented 1 year ago

calling drawBuffers on the default framebuffer with this framebuffer's drawBuffers results in an INVALID_OPERATION

edit: this seems to have been introduced by this commit, which moved the drawBuffers call too far back: 0c3fa167f9ee11fce57aeb35d02bfb2b0c246dc2