D16802: effects: attempt to screenshot on OpenGL ES 2.0 instead of failing

Martin Flöser <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
graesslin added inline comments.

INLINE COMMENTS

> screenshot.cpp:560
> +            tex.unbind();
> +        } else if (GLPlatform::instance()->isGLES()) {
> +            img = QImage(geometry.size(), QImage::Format_ARGB32);

just use else here. glReadPixels is available on desktop gl.

REPOSITORY
  R108 KWin

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

To: bshah, #kwin, davidedmundson, graesslin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, 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.