OpenGL Renderer: fix race condition in shareContext
Render::shareContext() accesses m_submissionContext and m_shareContext,
which are initialized in Renderer::initialize(), so make sure
shareContext() and initialize() don't run simultaneously.
Pick-to: 6.12 6.11 6.8
Change-Id: I4fddaa57297facdb4ffff6d550da6d409e7f8ad6
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
| commit | 9d36e065349eba5018d5c1285559c1f21d4231b6 |
| parent | 439ffdac25abc361f1d7a54c0407a30371d13440 |
| author | Mauro Persano <mauro.persano@kdab.com> |
| committer | Mauro Persano <mauro.persano@kdab.com> |
| commit time | Mon, 24 Aug 2026 15:10:28 +0000 |