Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Ogda/Builders/dxt5action.cpp')
-rw-r--r--Source/Ogda/Builders/dxt5action.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/Ogda/Builders/dxt5action.cpp b/Source/Ogda/Builders/dxt5action.cpp
index ba8fd763..45e4d0b2 100644
--- a/Source/Ogda/Builders/dxt5action.cpp
+++ b/Source/Ogda/Builders/dxt5action.cpp
@@ -32,14 +32,13 @@
#include <Internal/filesystem.h>
#include <Internal/datemodified.h>
-ManifestResult DXT5Action::Run(const JobHandler& jh, const Item& item)
-{
+ManifestResult DXT5Action::Run(const JobHandler& jh, const Item& item) {
std::string full_source_path = item.GetAbsPath();
std::string partial_dest_path = item.GetPath() + "_converted.dds";
- std::string full_dest_path = AssemblePath( jh.output_folder, partial_dest_path );
- std::string temp_path = AssemblePath( jh.output_folder, partial_dest_path + ".tmp" );
+ std::string full_dest_path = AssemblePath(jh.output_folder, partial_dest_path);
+ std::string temp_path = AssemblePath(jh.output_folder, partial_dest_path + ".tmp");
- bool suc = ConvertImage( full_source_path, full_dest_path, temp_path, TextureData::Nice );
+ bool suc = ConvertImage(full_source_path, full_dest_path, temp_path, TextureData::Nice);
return ManifestResult(jh, item, partial_dest_path, suc, *this, "dxt5");
}