1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix invalid usage of texture->getSize() where actually texture->getOriginalSize() was meant

This commit is contained in:
sapier 2013-10-22 19:31:49 +02:00
parent 5fbc39a76c
commit 68bbdf1b2c
2 changed files with 6 additions and 6 deletions

View file

@ -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)
{