https://bugs.winehq.org/show_bug.cgi?id=39911
--- Comment #9 from Henri Verbeet hverbeet@gmail.com --- (In reply to Michael Stefaniuc from comment #8)
Henri, is it worth backporting this patch to Stable? It depends on
commit e3e5dcd2cd548bed34cc193383da96c1898fee2c Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Mar 2 19:24:13 2016 +0100
wined3d: Use a single allocation for texture sub-resource objects.
which has a huge dependency list.
It shouldn't be hard to backport. At first sight, it's probably just the second argument to the context_acquire() call in swapchain_update_swap_interval(). You should be able to just replace that with something like "surface_from_resource(swapchain->front_buffer->sub_resources[0])".