summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders/opengl_copy_bgra.comp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-04renderer_opengl: Swizzle BGR textures on copyameerj1-0/+15
OpenGL does not natively support BGR internal formats, which causes many BGR textures to render incorrectly, with Red and Blue channels swapped. This commit aims to address this by swizzling the blue and red channels on texture copies when a BGR format is encountered.