forked from ShuriZma/suyu
1
0
Fork 0

Merge pull request #4548 from lioncash/color

common/color: Migrate code over to the Common namespace
This commit is contained in:
bunnei 2020-08-25 10:07:13 -04:00 committed by GitHub
commit b798813eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
#include "common/swap.h" #include "common/swap.h"
#include "common/vector_math.h" #include "common/vector_math.h"
namespace Color { namespace Common::Color {
/// Convert a 1-bit color component to 8 bit /// Convert a 1-bit color component to 8 bit
[[nodiscard]] constexpr u8 Convert1To8(u8 value) { [[nodiscard]] constexpr u8 Convert1To8(u8 value) {
@ -268,4 +268,4 @@ inline void EncodeX24S8(u8 stencil, u8* bytes) {
bytes[3] = stencil; bytes[3] = stencil;
} }
} // namespace Color } // namespace Common::Color