TextureAtlas
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user