Skip to content

Commit

Permalink
add missing formatter for ccColor4F
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmeme01 authored Feb 20, 2025
1 parent cdb78f6 commit fb7b382
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions loader/src/loader/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fb7b382

Please sign in to comment.