aboutsummaryrefslogtreecommitdiffstats
path: root/src/resourcemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resourcemanager.cpp')
-rw-r--r--src/resourcemanager.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/resourcemanager.cpp b/src/resourcemanager.cpp
new file mode 100644
index 00000000..ca5ac3f3
--- /dev/null
+++ b/src/resourcemanager.cpp
@@ -0,0 +1,13 @@
+#include "resourcemanager.hpp"
+
+namespace yage
+{
+
+TextureCache ResourceManager::texture_cache_;
+
+GlTexture ResourceManager::getTexture(const std::string &texture_path)
+{
+ return texture_cache_.getTexture(texture_path);
+}
+
+} // yage