From e864aa25d55611a3139ffec0c2623cc61cdfb6ac Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 18 Aug 2020 14:27:39 -0400 Subject: common/color: Migrate code over to the Common namespace No external code makes use of this header, so we can freely change the namespace. --- src/common/color.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') 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 -- cgit v1.2.3