summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2020-08-18 14:27:39 -0400
committerGravatar Lioncash2020-08-18 14:27:41 -0400
commite864aa25d55611a3139ffec0c2623cc61cdfb6ac (patch)
tree9f2180c57d7f0fc69ea05b96bb174c377d752614
parentMerge pull request #4381 from Morph1984/fix-open-folder-installed-title (diff)
downloadyuzu-e864aa25d55611a3139ffec0c2623cc61cdfb6ac.tar.gz
yuzu-e864aa25d55611a3139ffec0c2623cc61cdfb6ac.tar.xz
yuzu-e864aa25d55611a3139ffec0c2623cc61cdfb6ac.zip
common/color: Migrate code over to the Common namespace
No external code makes use of this header, so we can freely change the namespace.
-rw-r--r--src/common/color.h4
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 @@
10#include "common/swap.h" 10#include "common/swap.h"
11#include "common/vector_math.h" 11#include "common/vector_math.h"
12 12
13namespace Color { 13namespace Common::Color {
14 14
15/// Convert a 1-bit color component to 8 bit 15/// Convert a 1-bit color component to 8 bit
16[[nodiscard]] constexpr u8 Convert1To8(u8 value) { 16[[nodiscard]] constexpr u8 Convert1To8(u8 value) {
@@ -268,4 +268,4 @@ inline void EncodeX24S8(u8 stencil, u8* bytes) {
268 bytes[3] = stencil; 268 bytes[3] = stencil;
269} 269}
270 270
271} // namespace Color 271} // namespace Common::Color