}
Image_AlienPixMap anAlienImage;
- if (!anAlienImage.InitTrash (Image_PixMap::ImgBGRA, theWidth, theHeight))
+ if (!anAlienImage.InitTrash (Image_Format_BGRA, theWidth, theHeight))
{
Message::DefaultMessenger()->Send (TCollection_AsciiString() + "RGBA image " + theWidth + "x" + theHeight + " allocation failed", Message_Fail);
return false;
// OpenGL ES does not support fetching data in BGRA format
// while FreeImage does not support RGBA format.
Image_PixMap anImage;
- anImage.InitWrapper (Image_PixMap::ImgRGBA,
+ anImage.InitWrapper (Image_Format_RGBA,
anAlienImage.ChangeData(),
anAlienImage.SizeX(),
anAlienImage.SizeY(),