From de347e9f233ad733941f6989ed0fb75f7807a837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 17 Nov 2015 23:31:34 -0800 Subject: [PATCH] Cleanup. --- tools/texturec/texturec.cpp | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/tools/texturec/texturec.cpp b/tools/texturec/texturec.cpp index cd5bb4367..06e79280a 100644 --- a/tools/texturec/texturec.cpp +++ b/tools/texturec/texturec.cpp @@ -131,7 +131,13 @@ int main(int _argc, const char* _argv[]) } else { - imageDecodeToBgra8(bits, mip.m_data, mip.m_width, mip.m_height, mip.m_width*4, mip.m_format); + imageDecodeToBgra8(bits + , mip.m_data + , mip.m_width + , mip.m_height + , mip.m_width*4 + , mip.m_format + ); } char filePath[256]; @@ -142,7 +148,15 @@ int main(int _argc, const char* _argv[]) { if (NULL != bx::stristr(filePath, ".ktx") ) { - imageWriteKtx(&writer, TextureFormat::BGRA8, false, width, height, 0, 1, dstpitch, dstpitch, bits); + imageWriteKtx(&writer + , TextureFormat::BGRA8 + , false + , width + , height + , 0 + , 1 + , bits + ); } else {