mirror of https://github.com/axmolengine/axmol.git
Merge pull request #10549 from mogemimi/fix-typo
Fix typo in Image::Format
This commit is contained in:
commit
c2479adc59
|
@ -609,7 +609,7 @@ ActionInterval* CCBAnimationManager::getEaseAction(ActionInterval *pAction, CCBK
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
log("CCBReader: Unkown easing type %d", static_cast<int>(easingType));
|
log("CCBReader: Unknown easing type %d", static_cast<int>(easingType));
|
||||||
return pAction;
|
return pAction;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -646,7 +646,7 @@ static void processResponse(HttpResponse* response, std::string& responseMessage
|
||||||
HttpRequest::Type::PUT != requestType &&
|
HttpRequest::Type::PUT != requestType &&
|
||||||
HttpRequest::Type::DELETE != requestType)
|
HttpRequest::Type::DELETE != requestType)
|
||||||
{
|
{
|
||||||
CCASSERT(true, "CCHttpClient: unkown request type, only GET、POST、PUT、DELETE are supported");
|
CCASSERT(true, "CCHttpClient: unknown request type, only GET、POST、PUT、DELETE are supported");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -335,7 +335,7 @@ static void processResponse(HttpResponse* response, char* errorBuffer)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
CCASSERT(true, "CCHttpClient: unkown request type, only GET and POSt are supported");
|
CCASSERT(true, "CCHttpClient: unknown request type, only GET and POSt are supported");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -405,7 +405,7 @@ static void processResponse(HttpResponse* response, char* errorBuffer)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
CCASSERT(true, "CCHttpClient: unkown request type, only GET and POSt are supported");
|
CCASSERT(true, "CCHttpClient: unknown request type, only GET and POSt are supported");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -457,7 +457,7 @@ Image::Image()
|
||||||
, _width(0)
|
, _width(0)
|
||||||
, _height(0)
|
, _height(0)
|
||||||
, _unpack(false)
|
, _unpack(false)
|
||||||
, _fileType(Format::UNKOWN)
|
, _fileType(Format::UNKNOWN)
|
||||||
, _renderFormat(Texture2D::PixelFormat::NONE)
|
, _renderFormat(Texture2D::PixelFormat::NONE)
|
||||||
, _numberOfMipmaps(0)
|
, _numberOfMipmaps(0)
|
||||||
, _hasPremultipliedAlpha(true)
|
, _hasPremultipliedAlpha(true)
|
||||||
|
@ -742,7 +742,7 @@ Image::Format Image::detectFormat(const unsigned char * data, ssize_t dataLen)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return Format::UNKOWN;
|
return Format::UNKNOWN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -92,7 +92,7 @@ public:
|
||||||
//! Raw Data
|
//! Raw Data
|
||||||
RAW_DATA,
|
RAW_DATA,
|
||||||
//! Unknown format
|
//! Unknown format
|
||||||
UNKOWN
|
UNKNOWN
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue