aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/resourcemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yage/core/resourcemanager.cpp')
-rw-r--r--yage/core/resourcemanager.cpp4
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