mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-29 14:19:51 -04:00
add missing formatter for ccColor4F
This commit is contained in:
parent
cdb78f6c48
commit
fb7b3829dc
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ std::string cocos2d::format_as(cocos2d::ccColor4B const& col) {
|
|||
return fmt::format("rgba({}, {}, {}, {})", col.r, col.g, col.b, col.a);
|
||||
}
|
||||
|
||||
std::string cocos2d::format_as(cocos2d::ccColor4F const& col) {
|
||||
return fmt::format("rgba({}, {}, {}, {})", col.r, col.g, col.b, col.a);
|
||||
}
|
||||
|
||||
// Log
|
||||
|
||||
inline static thread_local int32_t s_nestLevel = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue