diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-21 23:15:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 23:15:27 +0100 |
commit | ec38b4e883e223f1614e909ed58661260822e0e2 (patch) | |
tree | edd802619d862310304f011bc20e54c0599573cb /src/video_core/gpu.cpp | |
parent | Merge pull request #1752 from ReinUsesLisp/unimpl-decompiler (diff) | |
parent | Use default values for unknown framebuffer pixel format (diff) | |
download | yuzu-ec38b4e883e223f1614e909ed58661260822e0e2.tar yuzu-ec38b4e883e223f1614e909ed58661260822e0e2.tar.gz yuzu-ec38b4e883e223f1614e909ed58661260822e0e2.tar.bz2 yuzu-ec38b4e883e223f1614e909ed58661260822e0e2.tar.lz yuzu-ec38b4e883e223f1614e909ed58661260822e0e2.tar.xz yuzu-ec38b4e883e223f1614e909ed58661260822e0e2.tar.zst yuzu-ec38b4e883e223f1614e909ed58661260822e0e2.zip |
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 83c7e5b0b..51b3904f6 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -17,6 +17,8 @@ u32 FramebufferConfig::BytesPerPixel(PixelFormat format) { switch (format) { case PixelFormat::ABGR8: return 4; + default: + return 4; } UNREACHABLE(); |