aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/texturecache.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-31 18:00:01 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-31 18:00:01 +0000
commit34908f108ad7c2ee6cff96491a0bc40381477424 (patch)
treef58c6bdde485d07a7136f78055240bab923bd4a6 /yage/core/texturecache.h
parent943e3a5bc98ebcc2aa1b1d576700f7c4010c143c (diff)
downloadYAGE-34908f108ad7c2ee6cff96491a0bc40381477424.tar.gz
YAGE-34908f108ad7c2ee6cff96491a0bc40381477424.zip
[Test] Benchmarking the engine and trying to optimize.
Diffstat (limited to 'yage/core/texturecache.h')
-rw-r--r--yage/core/texturecache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/yage/core/texturecache.h b/yage/core/texturecache.h
index ac57aaba..fbedab9d 100644
--- a/yage/core/texturecache.h
+++ b/yage/core/texturecache.h
@@ -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();
};