Fixing some mac stuff
This commit is contained in:
@@ -206,7 +206,7 @@ void MeshLoader::loadMaterials(const aiScene* scene, const Array<PTextureAsset>&
|
||||
parameters.add(textureKey);
|
||||
bindingCounter++;
|
||||
|
||||
std::string samplerKey = std::format("{0}Sampler{1}", paramKey, index);
|
||||
std::string samplerKey = fmt::format("{0}Sampler{1}", paramKey, index);
|
||||
SamplerCreateInfo samplerInfo = {};
|
||||
switch (mapMode)
|
||||
{
|
||||
|
||||
@@ -64,7 +64,7 @@ void TextureLoader::import(TextureImportArgs args, PTextureAsset textureAsset)
|
||||
ss << "toktx --encode etc1s ";
|
||||
if (args.type == TextureImportType::TEXTURE_NORMAL)
|
||||
{
|
||||
ss << "--normal_mode ";
|
||||
//ss << "--normal_mode ";
|
||||
}
|
||||
ss << ktxFile << " " << args.filePath;
|
||||
system(ss.str().c_str());
|
||||
|
||||
Reference in New Issue
Block a user