commit | e5132f9f98e23e5751fba6bd397c2520c9370996 | [log] [tgz] |
---|---|---|
author | Ryan C. Gordon <icculus@icculus.org> | Thu Oct 18 23:38:27 2018 -0400 |
committer | Ryan C. Gordon <icculus@icculus.org> | Thu Oct 18 23:38:27 2018 -0400 |
tree | 2cf564b71196581d6975840a291d611d8f31c952 | |
parent | 485e0cf698b3c49558ade9279e3e3c3a8c8976a7 [diff] |
cocoa: Put a mutex around GL_SwapBuffers. Prevents deadlock when swapping two different GL contexts on two different threads at the same time on macOS 10.14 ("Mojave"). Fixes Bugzilla #4278.