Skip to content

plugins/screenshot: Port blitScreenshot() to glReadnPixels()

Vlad Zahorodnii requested to merge work/cherry-pick-230e456f into Plasma/6.1

With glReadnPixels(), it can be guaranteed that the texture data won't be written beyond the QImage buffer bounds.

(cherry picked from commit 230e456f)

Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org

Merge request reports