Skip to content
Snippets Groups Projects
Unverified Commit b798813e authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #4548 from lioncash/color

common/color: Migrate code over to the Common namespace
parents bb752df7 e864aa25
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment