[PATCH] wined3d: Unbind the FBOs before glDispatchCompute

Fabian Maurer dark.shadow4 at web.de
Fri Dec 1 10:55:36 CST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20171201/e17530e8/attachment.html>


More information about the wine-devel mailing list