Skip to content

qpa: Fix a crash in EGLPlatformContext::swapBuffers()

Vlad Zahorodnii requested to merge work/zzag/fix-qpa-swap-buffers-crash into master

After internalWindow->present() is called, we cannot guarantee that the current opengl context hasn't changed. If kwin changes the current opengl context, bindContextFBO() can crash because there may not be current QOpenGLContext.

BUG: 455435

Merge request reports