https://bugs.winehq.org/show_bug.cgi?id=38166
--- Comment #35 from Vjacheslav galdralag@bk.ru --- (In reply to i.Dark_Templar from comment #31)
(In reply to Vjacheslav from comment #28)
It seems that attached diff already applied to wine5.0
But this bug is still occurs on wine5.0 and winestaging5.0 on nvidia 760M
As far as I can see, this patch is not applied to wine-5.0. And when I apply it locally, it still fixes this bug for me.
Currently (wine5.0) attached patch can not be applied directly. Patched function wined3d_buffer_gl_map does not exists in dlls/wined3d/buffer.c. But it can be applied manually to function buffer_resource_sub_resource_map that looks like renamed and modified wined3d_buffer_gl_map. After doing this, as I can test slowdown of game occurs a little later than without patch. So it is not fix.