Skip to content

opengl: Correct transformation order in GLTexture::render()

Vlad Zahorodnii requested to merge work/zzag/gl-texture-correct-transform into master

First, the texture-to-buffer transform has to be applied, then the y axis should be flipped. Doing it vice versa changes the winding order of rotation transforms.

Also the screenshot plugin uses incorrect render transform. Since convertFromGLImage() undoes the render target's transform, the color space transformation pass should use the same transform, not the inverted one.

BUG: 479934

Merge request reports