Core: Make Color constexpr

This commit is contained in:
SirLynix
2022-12-29 12:13:00 +01:00
parent 3d88746060
commit 9a553e5e9d
38 changed files with 227 additions and 222 deletions

View File

@@ -120,7 +120,7 @@ namespace Nz
inline void CommandBuffer::BeginDebugRegion(const char* label)
{
return BeginDebugRegion(label, Color::Black);
return BeginDebugRegion(label, Color::Black());
}
inline void CommandBuffer::BeginDebugRegion(const char* label, Color color)
@@ -380,7 +380,7 @@ namespace Nz
inline void CommandBuffer::InsertDebugLabel(const char* label)
{
return InsertDebugLabel(label, Color::Black);
return InsertDebugLabel(label, Color::Black());
}
inline void CommandBuffer::InsertDebugLabel(const char* label, Color color)