TextureAtlas

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-07-12 20:06:14 -07:00
parent 5ba12a29d1
commit d3d02059cc
5 changed files with 5 additions and 17 deletions
@@ -5,7 +5,6 @@
*
*/
#include "TextureAtlas_precompiled.h"
#include "TextureAtlasImpl.h"
#include <AzCore/Serialization/SerializeContext.h>
@@ -5,8 +5,6 @@
*
*/
#include "TextureAtlas_precompiled.h"
#include <AzCore/Memory/SystemAllocator.h>
#include "TextureAtlasSystemComponent.h"
@@ -5,8 +5,6 @@
*
*/
#include "TextureAtlas_precompiled.h"
#include <AzCore/Serialization/SerializeContext.h>
#include <AzCore/Serialization/EditContext.h>
#include <AzCore/IO/FileIO.h>
@@ -239,7 +237,11 @@ namespace TextureAtlasNamespace
temp.m_atlas->GetTexture().reset();
}
// Delete the atlas
SAFE_DELETE(temp.m_atlas);
if (temp.m_atlas)
{
delete temp.m_atlas;
temp.m_atlas = NULL;
}
}
return;
}
@@ -1,10 +0,0 @@
/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <platform.h> // Many CryCommon files require that this is included first.
@@ -6,7 +6,6 @@
#
set(FILES
Source/TextureAtlas_precompiled.h
Include/TextureAtlas/TextureAtlasBus.h
Include/TextureAtlas/TextureAtlasNotificationBus.h
Include/TextureAtlas/TextureAtlas.h