screenshot: Reuse GLTexture::toImage

Cleans the code a bit. It also makes use of the more performant Qt::Format_RGBA8888_Premultiplied, which is nice to come by.

Merge request reports

Loading