https://bugs.winehq.org/show_bug.cgi?id=42502
--- Comment #12 from Stefan Dösinger stefandoesinger@gmx.at --- Created attachment 57565 --> https://bugs.winehq.org/attachment.cgi?id=57565 Delete framebuffer before deleting attachments
Here's a shot in the dark: This patch reorders the delete calls to unbind and delete the framebuffer before deleting its attachments. Doing it in the other order should be fine, but I believe this way is less likely to hit bugs in the driver.