Daniele Bartolini пре 11 година
родитељ
комит
619229be4e
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      engine/compilers/BundleCompiler.cpp

+ 5 - 0
engine/compilers/BundleCompiler.cpp

@@ -102,6 +102,11 @@ bool BundleCompiler::compile(const char* bundle_dir, const char* source_dir, con
 	// Compile all resources
 	// Compile all resources
 	for (uint32_t i = 0; i < vector::size(files); i++)
 	for (uint32_t i = 0; i < vector::size(files); i++)
 	{
 	{
+		if (files[i].ends_with(".tga"))
+			continue;
+		if (files[i].ends_with(".dds"))
+			continue;
+
 		const char* filename = files[i].c_str();
 		const char* filename = files[i].c_str();
 
 
 		uint64_t filename_hash = string::murmur2_64(filename, string::strlen(filename), 0);
 		uint64_t filename_hash = string::murmur2_64(filename, string::strlen(filename), 0);