winemac: Only manipulate an NSOpenGLContext's view on the main thread.
commit1261589c2cc68061d4bd9d41a387cd4979d7073c
authorKen Thomases <ken@codeweavers.com>
Wed, 11 Dec 2019 17:49:47 +0000 (11 11:49 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 11 Dec 2019 20:51:28 +0000 (11 21:51 +0100)
tree26d91d2cde188ec484323e7d3499092057c43e7c
parentc70c10564a61221be5a519dbcf360e44eb18c19b
winemac: Only manipulate an NSOpenGLContext's view on the main thread.

I was seeing a crash due to an assert about manipulating it on a
background thread. I can't recall where I was seeing that. I think it's
new in Catalina.

Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winemac.drv/cocoa_opengl.m