aboutsummaryrefslogtreecommitdiffstats
path: root/src/texturecache.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-08-02 09:53:13 +0100
committerGitHub <noreply@github.com>2017-08-02 09:53:13 +0100
commit30461c89fd53e14bb9f5a83eaf6d72040931b62a (patch)
tree3303e22526d346030fa78dabcebdcfd0a3f11f1f /src/texturecache.cpp
parenta1fc39d49e442fcc756091ee028ff33bdd9c518a (diff)
parent489c3550c3694ffc5f67c1527a3f021a01c8bbfc (diff)
downloadYAGE-30461c89fd53e14bb9f5a83eaf6d72040931b62a.tar.gz
YAGE-30461c89fd53e14bb9f5a83eaf6d72040931b62a.zip
Merge pull request #2 from ymherklotz/develop
Merging
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);