mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-10-12 12:05:34 +00:00
Merge pull request #95 from zeux/fix-extension
Don't append .basis extension in basisu_comp.cpp
This commit is contained in:
@@ -1066,9 +1066,7 @@ namespace basisu
|
||||
{
|
||||
const uint8_vec &comp_data = m_basis_file.get_compressed_data();
|
||||
|
||||
std::string basis_filename(m_params.m_out_filename);
|
||||
string_remove_extension(basis_filename);
|
||||
basis_filename += ".basis";
|
||||
const std::string& basis_filename = m_params.m_out_filename;
|
||||
|
||||
if (!write_vec_to_file(basis_filename.c_str(), comp_data))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user