Skip to content

opengl/gltexture: Fix format for 565 textures

Gabriel Souza Franco requested to merge work/cherry-pick-60e39643 into Plasma/6.1

GL_INVALID_OPERATION is generated if type is one of [...] GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REV, [...] and format is not GL_RGB.

(cherry picked from commit 60e39643)

Merge request reports