diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-24 07:07:11 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-24 07:07:11 +0200 |
commit | 75de730e285d30779596c5fe6b1bbd265c4e54f8 (patch) | |
tree | 5d6965adf4752a4e7e30be65d1ac3b8a09684c54 /src/video_core/surface.h | |
parent | decode/texture: Address feedback (diff) | |
download | yuzu-75de730e285d30779596c5fe6b1bbd265c4e54f8.tar yuzu-75de730e285d30779596c5fe6b1bbd265c4e54f8.tar.gz yuzu-75de730e285d30779596c5fe6b1bbd265c4e54f8.tar.bz2 yuzu-75de730e285d30779596c5fe6b1bbd265c4e54f8.tar.lz yuzu-75de730e285d30779596c5fe6b1bbd265c4e54f8.tar.xz yuzu-75de730e285d30779596c5fe6b1bbd265c4e54f8.tar.zst yuzu-75de730e285d30779596c5fe6b1bbd265c4e54f8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/surface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h index ee9f00fa6..bfdbc3b81 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h @@ -123,7 +123,7 @@ enum class SurfaceTarget { TextureCubeArray, }; -inline constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ +constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{ 0, // ABGR8U 0, // ABGR8S 0, // ABGR8UI @@ -446,7 +446,7 @@ enum class SurfaceCompression : u8 { Rearranged = 3, }; -inline constexpr std::array<SurfaceCompression, MaxPixelFormat> compression_type_table = {{ +constexpr std::array<SurfaceCompression, MaxPixelFormat> compression_type_table = {{ SurfaceCompression::None, // ABGR8U SurfaceCompression::None, // ABGR8S SurfaceCompression::None, // ABGR8UI |