build ok! but don't debug

This commit is contained in:
hyzboy 2019-12-02 22:24:06 +08:00
parent 974638d58e
commit f64a3fd1ce
3 changed files with 6 additions and 6 deletions

View File

@ -44,4 +44,5 @@ set(COPYRIGHT "Copyright (c) 1997-2019 hyzgame.com. All rights reserved.")
set(IDENTIFIER "com.hyzgame.texconv") set(IDENTIFIER "com.hyzgame.texconv")
target_link_libraries(TexConv PRIVATE CMCore CMPlatform CMUtil target_link_libraries(TexConv PRIVATE CMCore CMPlatform CMUtil
Qt5::Core Qt5::Gui Qt5::Widgets) Qt5::Core Qt5::Gui Qt5::Widgets
DevIL ILU)

View File

@ -39,7 +39,7 @@ namespace
if(pos==-1) if(pos==-1)
return old_name.SubString(0,pos+1)+new_extname; return old_name.SubString(0,pos+1)+new_extname;
else else
return old_name+BaseString<T>(split_char)+new_extname; return old_name+BaseString<T>::charOf(split_char)+new_extname;
} }
}//namespace }//namespace

View File

@ -1,4 +1,5 @@
#include<iostream> #include<iostream>
#include<IL/il.h>
#include<hgl/util/cmd/CmdParse.h> #include<hgl/util/cmd/CmdParse.h>
#include<hgl/type/DataType.h> #include<hgl/type/DataType.h>
#include<hgl/type/StrChar.h> #include<hgl/type/StrChar.h>
@ -73,13 +74,11 @@ protected:
void ProcFile(EnumFileConfig *efc,FileInfo &fi) override void ProcFile(EnumFileConfig *efc,FileInfo &fi) override
{ {
ConvertImage ci(fi.fullname); ConvertImage ci;
if(!ci.Load())return; if(!ci.Load(fi.fullname))return;
if(!ci.Convert(pixel_fmt))return; if(!ci.Convert(pixel_fmt))return;
} }
public: public: