D26556: [scenes/opengl] Set current context when resetting common vertex buffer

Vlad Zahorodnii noreply at phabricator.kde.org
Fri Jan 10 13:41:37 GMT 2020


zzag added inline comments.

INLINE COMMENTS

> scene_opengl.cpp:394-398
> +            Scene *scene = Compositor::self()->scene();
> +            if (!scene) {
> +                return;
> +            }
> +            scene->makeOpenGLContextCurrent();

Was there any reason not to use gl_debuggedScene directly?

REPOSITORY
  R108 KWin

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

To: davidedmundson, #kwin
Cc: zzag, kwin, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200110/64827d2d/attachment.html>


More information about the kwin mailing list