add BOM
This commit is contained in:
parent
ed8eb266b5
commit
19c9c030ea
@ -1,4 +1,4 @@
|
||||
#include"config.h"
|
||||
#include"config.h"
|
||||
#include"json_tools.h"
|
||||
#include<iostream>
|
||||
#include<hgl/log/LogInfo.h>
|
||||
@ -14,7 +14,7 @@ namespace
|
||||
bool LoadConfig(const OSString &filename)
|
||||
{
|
||||
Json::Value js;
|
||||
|
||||
|
||||
if(!LoadJson(js,filename))
|
||||
{
|
||||
LOG_ERROR(OS_TEXT("load config file<")+filename+OS_TEXT("> failed."));
|
||||
|
4
main.cpp
4
main.cpp
@ -1,4 +1,4 @@
|
||||
#include<il/il.h>
|
||||
#include<il/il.h>
|
||||
#include<il/ilu.h>
|
||||
#include<iostream>
|
||||
#include"cmd_parse.h"
|
||||
@ -83,7 +83,7 @@ int main(int argc,char **argv)
|
||||
if(cp.Find("/mip")!=-1)gen_mipmaps=true; //检测是否生成mipmaps
|
||||
|
||||
ParamColorKey(cp);
|
||||
ParseParamFormat(cp); //检测推荐格式
|
||||
ParseParamFormat(cp); //检测推荐格式
|
||||
|
||||
ilInit();
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include"pixel_format.h"
|
||||
#include"pixel_format.h"
|
||||
#include<hgl/type/StrChar.h>
|
||||
#include<iostream>
|
||||
#include<iomanip>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include<hgl/type/DataType.h>
|
||||
|
||||
@ -78,4 +78,4 @@ public:
|
||||
const PixelFormat *GetPixelFormat(ColorFormat); ///<根据获取获取象素格式类型
|
||||
const PixelFormat *GetPixelFormat(const char *name); ///<根据名称获取象素格式类型
|
||||
|
||||
void PrintFormatList();
|
||||
void PrintFormatList();
|
||||
|
Loading…
x
Reference in New Issue
Block a user