OUaip
This commit is contained in:
@@ -69,9 +69,10 @@ bool TextureAtlas::Generate(int textureSize, bool mipmap) {
|
||||
|
||||
ilOriginFunc(IL_ORIGIN_LOWER_LEFT);
|
||||
ilEnable(IL_ORIGIN_SET);
|
||||
|
||||
ilEnable(IL_ALPHA);
|
||||
ilEnable(IL_BLIT_BLEND);
|
||||
|
||||
if (!ilLoad(IL_PNG,(const ILstring)it->first.c_str()))
|
||||
if (!ilLoadImage((const ILstring)it->first.c_str()))
|
||||
return false;
|
||||
|
||||
if (!ilConvertImage(IL_RGBA, IL_UNSIGNED_BYTE))
|
||||
|
Reference in New Issue
Block a user