D15957: [plugins/qpa] Don't crash on Qt5.12 OpengGL::makeCurrent

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag accepted this revision.
zzag added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> sharingplatformcontext.cpp:53
> +
> +    QOpenGLContextPrivate::setCurrentContext(context());
>      if (eglMakeCurrent(eglDisplay(), m_surface, m_surface, eglContext())) {

Please add a comment why we call setCurrentContext here.

REPOSITORY
  R108 KWin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D15957

To: davidedmundson, #kwin, zzag
Cc: zzag, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.