Remove some redundant code

This commit is contained in:
Wojtek Figat
2024-12-18 18:39:58 +01:00
parent 5b98603c16
commit 8eaa906e0c
4 changed files with 1 additions and 20 deletions

View File

@@ -777,11 +777,6 @@ bool TextureBase::init(AssetInitData& initData)
{
if (IsVirtual())
return false;
if (initData.SerializedVersion != TexturesSerializedVersion)
{
LOG(Error, "Invalid serialized texture version.");
return true;
}
// Get texture header for asset custom data (fast access)
TextureHeader textureHeader;