aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/texturecache.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-01-06 11:30:24 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-01-06 11:30:24 +0000
commitc7090180503f263c60ec34844992e0e8d4bea85a (patch)
tree6ecc5b2e16856db49de056738b36e1ba103d3049 /yage/core/texturecache.h
parentcf4c73f2a75b470a4d4c4167105f92bc46f1926c (diff)
parent07012cf0982d3f86aebe83b5bdc4a67332c635da (diff)
downloadYAGE-c7090180503f263c60ec34844992e0e8d4bea85a.tar.gz
YAGE-c7090180503f263c60ec34844992e0e8d4bea85a.zip
Merge branch 'develop'
Diffstat (limited to 'yage/core/texturecache.h')
-rw-r--r--yage/core/texturecache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/yage/core/texturecache.h b/yage/core/texturecache.h
index 58dcd4eb..fbedab9d 100644
--- a/yage/core/texturecache.h
+++ b/yage/core/texturecache.h
@@ -9,7 +9,7 @@
#ifndef TEXTURE_CACHE_H
#define TEXTURE_CACHE_H
-#include "texture.h"
+#include "../data/texture.h"
#include <unordered_map>
@@ -24,7 +24,7 @@ private:
public:
TextureCache() = default;
- Texture getTexture(const std::string &texture_path);
+ Texture getTexture(const std::string &texture_path, int x = 1, int y = 1);
Texture getTextureFromSpriteSheet();
};