I'm making several objects with images for textures. pngs, jpgs, bmps, they all work fine. but when a gif goes through my code it crashes out. it says the error is here:
Code: Select all
picture->setScale(core::vector3df(
1,
picture->getMaterial(0).getTexture(0)->getOriginalSize().Height/scaledown,
picture->getMaterial(0).getTexture(0)->getOriginalSize().Width/scaledown));Does anyone know why .gifs would cause such a ruckus?
What can I do to allow a gif to work? Bear in mind that these .gifs are NOT animated.