aboutsummaryrefslogtreecommitdiffstats
path: root/include/texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/texture.hpp')
-rw-r--r--include/texture.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/texture.hpp b/include/texture.hpp
index 88dae65..ad5211c 100644
--- a/include/texture.hpp
+++ b/include/texture.hpp
@@ -32,7 +32,7 @@ namespace Texture {
void initColorIndex();
vec2 getIndex(Color c);
- dim2 imageDim(std::string fileName);
+ vec2 imageDim(std::string fileName);
}
class SpriteLoader {
@@ -116,7 +116,7 @@ public:
return textures[index].second;
}
- const dim2 getTextureDim(void) {
+ const vec2 getTextureDim(void) {
return Texture::imageDim((*position).second);
}
};