diff options
Diffstat (limited to 'tools/asset_packer.cc')
| -rw-r--r-- | tools/asset_packer.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/asset_packer.cc b/tools/asset_packer.cc index 0d48906..c982a39 100644 --- a/tools/asset_packer.cc +++ b/tools/asset_packer.cc @@ -80,8 +80,8 @@ static bool ParseProceduralParams(const std::string& params_str, // Helper struct to hold all information about an asset during parsing struct AssetBuildInfo { std::string name; - std::string filename; // Original filename for static assets - std::string asset_type; // "STATIC", "PROC", "PROC_GPU", "MP3" + std::string filename; // Original filename for static assets + std::string asset_type; // "STATIC", "PROC", "PROC_GPU", "MP3" std::string proc_func_name; // Function name string std::vector<float> proc_params; // Parameters for procedural function @@ -453,7 +453,8 @@ int main(int argc, char* argv[]) { } else if (compression_type_str == "MP3") { info.asset_type = "MP3"; } else if (compression_type_str != "NONE") { - fprintf(stderr, "Warning: Unknown compression type '%s' for asset: %s\n", + fprintf(stderr, + "Warning: Unknown compression type '%s' for asset: %s\n", compression_type_str.c_str(), info.name.c_str()); } @@ -545,9 +546,8 @@ int main(int argc, char* argv[]) { fprintf(assets_data_cc_file, " { "); if (info.asset_type == "PROC" || info.asset_type == "PROC_GPU") { fprintf(assets_data_cc_file, "nullptr, 0, AssetType::%s, %s, %s, %zu", - info.asset_type.c_str(), - info.func_name_str_name.c_str(), info.params_array_name.c_str(), - info.proc_params.size()); + info.asset_type.c_str(), info.func_name_str_name.c_str(), + info.params_array_name.c_str(), info.proc_params.size()); } else { fprintf(assets_data_cc_file, "%s, ASSET_SIZE_%s, AssetType::%s, nullptr, nullptr, 0", |
