diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-18 14:27:39 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-18 14:27:41 -0400 |
commit | e864aa25d55611a3139ffec0c2623cc61cdfb6ac (patch) | |
tree | 9f2180c57d7f0fc69ea05b96bb174c377d752614 /src | |
parent | bea9ed2548abfa738d3381a152e7ece42efbf08d (diff) |
common/color: Migrate code over to the Common namespace
No external code makes use of this header, so we can freely change the
namespace.
Diffstat (limited to 'src')
-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 @@ #include "common/swap.h" #include "common/vector_math.h" -namespace Color { +namespace Common::Color { /// Convert a 1-bit color component to 8 bit [[nodiscard]] constexpr u8 Convert1To8(u8 value) { @@ -268,4 +268,4 @@ inline void EncodeX24S8(u8 stencil, u8* bytes) { bytes[3] = stencil; } -} // namespace Color +} // namespace Common::Color |