aboutsummaryrefslogtreecommitdiffstats
path: root/src/texturecache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/texturecache.cpp')
-rw-r--r--src/texturecache.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/texturecache.cpp b/src/texturecache.cpp
index ca47217e..6d10b209 100644
--- a/src/texturecache.cpp
+++ b/src/texturecache.cpp
@@ -1,3 +1,11 @@
+/* ----------------------------------------------------------------------------
+ * texturecache.cpp
+ *
+ * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
+ * See file LICENSE for more details
+ * ----------------------------------------------------------------------------
+ */
+
#include "imageloader.hpp"
#include "texturecache.hpp"
@@ -7,9 +15,6 @@ namespace yage
TextureCache::TextureCache()
{}
-TextureCache::~TextureCache()
-{}
-
Texture TextureCache::getTexture(const std::string &texture_path)
{
auto itr = texture_map_.find(texture_path);