mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0022591: Migration to FreeImage: texture management
Graphic3d_TextureRoot - migrate to Image_AlienPixMap OpenGl_View::CreateBackgroundTexture() - migrate to Image_AlienPixMap Fixed Graphic3d_TextureRoot::LoadTexture() method.
This commit is contained in:
@@ -182,7 +182,7 @@ bool Image_AlienPixMap::InitTrash (ImgFormat thePixelFormat,
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
// function : Clear
|
||||
// function : InitCopy
|
||||
// purpose :
|
||||
// =======================================================================
|
||||
bool Image_AlienPixMap::InitCopy (const Image_PixMap& theCopy)
|
||||
@@ -368,7 +368,6 @@ bool Image_AlienPixMap::Save (const TCollection_AsciiString& theFileName)
|
||||
|
||||
// FreeImage doesn't provide flexible format convertion API
|
||||
// so we should perform multiple convertions in some cases!
|
||||
Standard_Boolean isCopied = Standard_False;
|
||||
FIBITMAP* anImageToDump = myLibImage;
|
||||
switch (anImageFormat)
|
||||
{
|
||||
|
Reference in New Issue
Block a user