mirror of https://github.com/axmolengine/axmol.git
Fix typo in Image::Format
This commit is contained in:
parent
a303142da5
commit
9e7ce0cd85
|
@ -457,7 +457,7 @@ Image::Image()
|
|||
, _width(0)
|
||||
, _height(0)
|
||||
, _unpack(false)
|
||||
, _fileType(Format::UNKOWN)
|
||||
, _fileType(Format::UNKNOWN)
|
||||
, _renderFormat(Texture2D::PixelFormat::NONE)
|
||||
, _numberOfMipmaps(0)
|
||||
, _hasPremultipliedAlpha(true)
|
||||
|
@ -742,7 +742,7 @@ Image::Format Image::detectFormat(const unsigned char * data, ssize_t dataLen)
|
|||
}
|
||||
else
|
||||
{
|
||||
return Format::UNKOWN;
|
||||
return Format::UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ public:
|
|||
//! Raw Data
|
||||
RAW_DATA,
|
||||
//! Unknown format
|
||||
UNKOWN
|
||||
UNKNOWN
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue