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:
parent
5fbc39a76c
commit
68bbdf1b2c
2 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue