diff options
author | greggameplayer <gregoire.hage@gmail.com> | 2019-01-11 21:15:30 +0100 |
---|---|---|
committer | Unknown <gregoire.hage@gmail.com> | 2019-02-09 23:44:01 +0100 |
commit | a6a73d8892684596791aca34a337a07477078284 (patch) | |
tree | c1868d2d962b6bfd4f84c19bdd90fc86f617268a /src/video_core/surface.cpp | |
parent | Merge pull request #1904 from bunnei/better-fermi-copy (diff) | |
download | yuzu-a6a73d8892684596791aca34a337a07477078284.tar yuzu-a6a73d8892684596791aca34a337a07477078284.tar.gz yuzu-a6a73d8892684596791aca34a337a07477078284.tar.bz2 yuzu-a6a73d8892684596791aca34a337a07477078284.tar.lz yuzu-a6a73d8892684596791aca34a337a07477078284.tar.xz yuzu-a6a73d8892684596791aca34a337a07477078284.tar.zst yuzu-a6a73d8892684596791aca34a337a07477078284.zip |
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r-- | src/video_core/surface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index 2f6612a35..044ba116a 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp @@ -426,6 +426,8 @@ PixelFormat PixelFormatFromGPUPixelFormat(Tegra::FramebufferConfig::PixelFormat switch (format) { case Tegra::FramebufferConfig::PixelFormat::ABGR8: return PixelFormat::ABGR8U; + case Tegra::FramebufferConfig::PixelFormat::BGRA8: + return PixelFormat::BGRA8; default: LOG_CRITICAL(HW_GPU, "Unimplemented format={}", static_cast<u32>(format)); UNREACHABLE(); |