On Freitag, 1. Dezember 2017 13:49:59 CET Henri Verbeet wrote:
> I think I'd feel better about this if context_apply_compute_state()
> did a context_bind_fbo() followed by a context_invalidate_state()
> instead.
Alright, adding
> context_bind_fbo(context, GL_FRAMEBUFFER, 0);
> context_invalidate_state(context, STATE_FRAMEBUFFER);
in "context_apply_compute_state" makes it render properly, too.
But don't we need to re-bind the old framebuffer(s) afterwards?
Regards,
Fabian Maurer