From 1bb0ef8960c71ef505a351702bec54c01ba15e22 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 12 Oct 2017 14:57:26 +0100 Subject: Fixing spritesheet and fixed #12 --- yage/base/texturecache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'yage/base/texturecache.h') diff --git a/yage/base/texturecache.h b/yage/base/texturecache.h index 414c9ec3..b28349ec 100644 --- a/yage/base/texturecache.h +++ b/yage/base/texturecache.h @@ -22,9 +22,10 @@ private: std::unordered_map texture_map_; public: - TextureCache(); + TextureCache() = default; Texture getTexture(const std::string &texture_path); + Texture getTextureFromSpriteSheet(); }; } // namespace yage -- cgit