mirror of https://github.com/axmolengine/axmol.git
Adds missing ‘)’.
This commit is contained in:
parent
0ff85852cc
commit
1f5611ae05
|
@ -632,7 +632,7 @@ void VolatileTextureMgr::reloadAllTextures()
|
||||||
|
|
||||||
Data data = FileUtils::getInstance()->getDataFromFile(vt->_fileName);
|
Data data = FileUtils::getInstance()->getDataFromFile(vt->_fileName);
|
||||||
|
|
||||||
if (image && image->initWithImageData(data->getBytes(), data->getSize())
|
if (image && image->initWithImageData(data->getBytes(), data->getSize()))
|
||||||
{
|
{
|
||||||
Texture2D::PixelFormat oldPixelFormat = Texture2D::getDefaultAlphaPixelFormat();
|
Texture2D::PixelFormat oldPixelFormat = Texture2D::getDefaultAlphaPixelFormat();
|
||||||
Texture2D::setDefaultAlphaPixelFormat(vt->_pixelFormat);
|
Texture2D::setDefaultAlphaPixelFormat(vt->_pixelFormat);
|
||||||
|
|
Loading…
Reference in New Issue