aboutsummaryrefslogtreecommitdiff
path: root/src/mesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh.cpp')
-rw-r--r--src/mesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh.cpp b/src/mesh.cpp
index 5e5f9f863..3200d5fa6 100644
--- a/src/mesh.cpp
+++ b/src/mesh.cpp
@@ -260,7 +260,7 @@ scene::IAnimatedMesh* createExtrudedMesh(video::ITexture *texture,
video::IVideoDriver *driver, v3f scale)
{
scene::IAnimatedMesh *mesh = NULL;
- core::dimension2d<u32> size = texture->getSize();
+ core::dimension2d<u32> size = texture->getOriginalSize();
video::ECOLOR_FORMAT format = texture->getColorFormat();
if (format == video::ECF_A8R8G8B8)
{