common/color: Migrate code over to the Common namespace

No external code makes use of this header, so we can freely change the
namespace.
This commit is contained in:
Lioncash 2020-08-18 14:27:39 -04:00 committed by FearlessTobi
parent 94d0399876
commit 81bf21283f
1 changed files with 2 additions and 2 deletions

View File

@ -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