diff options
| author | 2020-08-25 10:07:13 -0400 | |
|---|---|---|
| committer | 2020-08-25 10:07:13 -0400 | |
| commit | b798813eee1a75973d7ed6489800f7297f47b7dd (patch) | |
| tree | ab35fd8285d06eea619e3af9ad2c6919f4fa7d80 /src | |
| parent | Merge pull request #4542 from ReinUsesLisp/gpu-init-base (diff) | |
| parent | common/color: Migrate code over to the Common namespace (diff) | |
| download | yuzu-b798813eee1a75973d7ed6489800f7297f47b7dd.tar.gz yuzu-b798813eee1a75973d7ed6489800f7297f47b7dd.tar.xz yuzu-b798813eee1a75973d7ed6489800f7297f47b7dd.zip | |
Merge pull request #4548 from lioncash/color
common/color: Migrate code over to the Common namespace
Diffstat (limited to '')
| -rw-r--r-- | src/common/color.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/color.h b/src/common/color.h index 381d6332e..bbcac858e 100644 --- a/src/common/color.h +++ b/src/common/color.h | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | #include "common/swap.h" | 10 | #include "common/swap.h" |
| 11 | #include "common/vector_math.h" | 11 | #include "common/vector_math.h" |
| 12 | 12 | ||
| 13 | namespace Color { | 13 | namespace Common::Color { |
| 14 | 14 | ||
| 15 | /// Convert a 1-bit color component to 8 bit | 15 | /// Convert a 1-bit color component to 8 bit |
| 16 | [[nodiscard]] constexpr u8 Convert1To8(u8 value) { | 16 | [[nodiscard]] constexpr u8 Convert1To8(u8 value) { |
| @@ -268,4 +268,4 @@ inline void EncodeX24S8(u8 stencil, u8* bytes) { | |||
| 268 | bytes[3] = stencil; | 268 | bytes[3] = stencil; |
| 269 | } | 269 | } |
| 270 | 270 | ||
| 271 | } // namespace Color | 271 | } // namespace Common::Color |