http://bugs.winehq.org/show_bug.cgi?id=27534
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #35801|0 |1 is obsolete| |
--- Comment #31 from Stefan Dösinger stefandoesinger@gmx.at 2011-08-04 13:09:01 CDT --- Created an attachment (id=35807) --> (http://bugs.winehq.org/attachment.cgi?id=35807) wined3d: call glFinish before performing a discard map
This is a test patch to confirm my theory from comment 30. Note that you have to enable strict draw ordering for this patch to work. If my theory is correct this patch(without any other patches) should fix the flickering.
Note that this is not a proper fix. It has a pretty big performance impact. In fact it has a bigger performance impact than simply ignoring D3DLOCK_DISCARD.