8 Nov
2021
8 Nov
'21
8:54 a.m.
https://bugs.winehq.org/show_bug.cgi?id=51999 --- Comment #4 from Henri Verbeet <hverbeet(a)gmail.com> --- (In reply to Zebediah Figura from comment #3)
I don't think we need to protect the swapchain desc with a mutex, do we? I'll prepare a patch.
It doesn't necessarily need to be wined3d_mutex_lock()/wined3d_mutex_unlock(), but the assignment to "*desc" in wined3d_swapchain_get_desc() is not atomic. In this particular case, wined3d_swapchain_state_set_fullscreen() potentially modifies the "output" and "windowed" fields. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.