bmp isn't a supported format for ImageData:encode.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-03-01 23:38:34 -04:00
parent dcbe7c4871
commit bf5f0b4175
4 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ private:
* indices[i*6 + 1] = i*4 + 1;
* indices[i*6 + 2] = i*4 + 2;
*
* indices[i*6 + 3] = i*4 + 0;
* indices[i*6 + 3] = i*4 + 1;
* indices[i*6 + 4] = i*4 + 2;
* indices[i*6 + 5] = i*4 + 3;
*
-1
View File
@@ -179,7 +179,6 @@ bool ImageData::getConstant(ImageData::Format in, const char *&out)
StringMap<ImageData::Format, ImageData::FORMAT_MAX_ENUM>::Entry ImageData::formatEntries[] =
{
{"tga", ImageData::FORMAT_TGA},
{"bmp", ImageData::FORMAT_BMP},
{"jpg", ImageData::FORMAT_JPG},
{"png", ImageData::FORMAT_PNG},
};
-1
View File
@@ -50,7 +50,6 @@ public:
enum Format
{
FORMAT_TGA,
FORMAT_BMP,
FORMAT_JPG,
FORMAT_PNG,
FORMAT_MAX_ENUM
@@ -55,8 +55,6 @@ static CFStringRef getFormatType(ImageData::Format format)
{
switch (format)
{
case ImageData::FORMAT_BMP:
return kUTTypeBMP;
case ImageData::FORMAT_JPG:
return kUTTypeJPEG;
case ImageData::FORMAT_TGA: