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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/yage/core/resourcemanager.cpp b/yage/core/resourcemanager.cpp
index c585a235..ec3761b8 100644
--- a/yage/core/resourcemanager.cpp
+++ b/yage/core/resourcemanager.cpp
@@ -7,16 +7,16 @@
*/
#include "resourcemanager.h"
-#include "texture.h"
+#include "../data/texture.h"
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