aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/texture_cache.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-04 14:14:19 -0500
committerameerj <52414509+ameerj@users.noreply.github.com>2021-03-04 14:14:19 -0500
commit594860b2166d7046b9a40fc02eaad2fd886649da (patch)
treea87c6e3142665bfb632001507cf04c973a88e1a6 /src/video_core/texture_cache/texture_cache.h
parent7e7de40f0cb7cc9af71d644d85947a0c40af4734 (diff)
renderer_opengl: Swizzle BGR textures on copy
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.
Diffstat (limited to 'src/video_core/texture_cache/texture_cache.h')
0 files changed, 0 insertions, 0 deletions