backends/drm: Use glReadnPixels to download texture contents
This helps us to prevent writing data outside the boundaries of the destination buffer.
(cherry picked from commit 8cc7816f)
Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org
This helps us to prevent writing data outside the boundaries of the destination buffer.
(cherry picked from commit 8cc7816f)
Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org