diff options
author | Lioncash <mathew1800@gmail.com> | 2020-04-16 04:10:40 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-04-16 04:10:44 +0200 |
commit | b178c9a3492ea6c0db63f708beecd3dfb3d921fe (patch) | |
tree | 40c6942fcc1e70b6ccf45ffbd59dd6b9029a576c /src/video_core | |
parent | Merge pull request #3612 from ReinUsesLisp/red (diff) | |
download | yuzu-b178c9a3492ea6c0db63f708beecd3dfb3d921fe.tar yuzu-b178c9a3492ea6c0db63f708beecd3dfb3d921fe.tar.gz yuzu-b178c9a3492ea6c0db63f708beecd3dfb3d921fe.tar.bz2 yuzu-b178c9a3492ea6c0db63f708beecd3dfb3d921fe.tar.lz yuzu-b178c9a3492ea6c0db63f708beecd3dfb3d921fe.tar.xz yuzu-b178c9a3492ea6c0db63f708beecd3dfb3d921fe.tar.zst yuzu-b178c9a3492ea6c0db63f708beecd3dfb3d921fe.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/shader/decode/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/image.cpp b/src/video_core/shader/decode/image.cpp index 0dd7a1196..7f94dacc8 100644 --- a/src/video_core/shader/decode/image.cpp +++ b/src/video_core/shader/decode/image.cpp @@ -201,10 +201,10 @@ u32 GetComponentSize(TextureFormat format, std::size_t component) { return 0; case TextureFormat::G24R8: if (component == 0) { - return 8; + return 24; } if (component == 1) { - return 24; + return 8; } return 0; case TextureFormat::G8R8: |