Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
Revert changes reported as incorrect
  • Loading branch information
NeilJed committed Mar 1, 2021
1 parent f5e7991 commit ae19fcf
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions VTFLib/VTFFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -955,17 +955,6 @@ vlBool CVTFFile::Create(vlUInt uiWidth, vlUInt uiHeight, vlUInt uiFrames, vlUInt
this->SetStartFrame(VTFCreateOptions.uiStartFrame);
this->SetBumpmapScale(VTFCreateOptions.sBumpScale);

if(lpNewImageDataRGBA8888 != 0)
{
for(vlUInt i = 0; i < uiCount; i++)
{
delete []lpNewImageDataRGBA8888[i];
}
delete []lpNewImageDataRGBA8888;
}

this->Destroy();

return vlTrue;
}
catch(...)
Expand Down

0 comments on commit ae19fcf

Please sign in to comment.