Instead, I get a mix of image1 and image2 colors.
Code: Select all
ITexture *img1=driver->getTexture("img1.png");
ITexture *img2=driver->getTexture("img2.png");
ITexture *temp=img1;
driver->draw2DImage(temp, ..., ..., ...);
temp=img2;
Code: Select all
ITexture *img1=driver->getTexture("img1.png");
ITexture *img2=driver->getTexture("img2.png");
ITexture *temp=img1;
driver->draw2DImage(temp, ..., ..., ...);
temp=img2;
Should draw image 1stefbuet wrote:Code: Select all
ITexture *img1=driver->getTexture("img1.png"); ITexture *img2=driver->getTexture("img2.png"); ITexture *temp=img1; driver->draw2DImage(temp, ..., ..., ...); temp=img2;