fixed a bug that I write a incorrect compress type value.
This commit is contained in:
parent
10c8a55144
commit
eafa403f57
@ -96,7 +96,7 @@ bool TextureFileCreater::WriteFileHeader(const OSString &old_filename,const uint
|
||||
if(pixel_format->format>ColorFormat::COMPRESS)
|
||||
{
|
||||
dos->WriteUint8(0);
|
||||
dos->WriteUint16(uint(pixel_format->format)-uint(ColorFormat::COMPRESS));
|
||||
dos->WriteUint16(uint(pixel_format->format)-uint(ColorFormat::BC1RGB));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user