summaryrefslogtreecommitdiff
path: root/src/resources/atlasmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/atlasmanager.h')
-rw-r--r--src/resources/atlasmanager.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/resources/atlasmanager.h b/src/resources/atlasmanager.h
index ce5f20d52..caa9b57eb 100644
--- a/src/resources/atlasmanager.h
+++ b/src/resources/atlasmanager.h
@@ -35,6 +35,7 @@ struct AtlasItem final
{
explicit AtlasItem(Image *const image0) :
image(image0),
+ name(),
x(0),
y(0),
width(image0->mBounds.w),
@@ -55,10 +56,12 @@ struct AtlasItem final
struct TextureAtlas final
{
TextureAtlas() :
+ name(),
atlasImage(nullptr),
surface(nullptr),
width(0),
- height(0)
+ height(0),
+ items()
{
}
@@ -75,7 +78,8 @@ struct TextureAtlas final
class AtlasResource final : public Resource
{
public:
- AtlasResource()
+ AtlasResource() :
+ atlases()
{ }
A_DELETE_COPY(AtlasResource)