diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-31 18:00:01 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-31 18:00:01 +0000 |
commit | 34908f108ad7c2ee6cff96491a0bc40381477424 (patch) | |
tree | f58c6bdde485d07a7136f78055240bab923bd4a6 /yage/core/resourcemanager.cpp | |
parent | 943e3a5bc98ebcc2aa1b1d576700f7c4010c143c (diff) | |
download | YAGE-34908f108ad7c2ee6cff96491a0bc40381477424.tar.gz YAGE-34908f108ad7c2ee6cff96491a0bc40381477424.zip |
[Test] Benchmarking the engine and trying to optimize.
Diffstat (limited to 'yage/core/resourcemanager.cpp')
-rw-r--r-- | yage/core/resourcemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yage/core/resourcemanager.cpp b/yage/core/resourcemanager.cpp index eac09305..ec3761b8 100644 --- a/yage/core/resourcemanager.cpp +++ b/yage/core/resourcemanager.cpp @@ -14,9 +14,9 @@ namespace yage TextureCache ResourceManager::texture_cache_; -Texture ResourceManager::getTexture(const std::string &texture_path) +Texture ResourceManager::getTexture(const std::string &texture_path, int x, int y) { - return texture_cache_.getTexture(texture_path); + return texture_cache_.getTexture(texture_path, x, y); } } // namespace yage |