Hi
I have found that the Image was displayed diffently bettwen under the deviceType video::EDT_SOFTWARE2 and video::EDT_DIRECT3D9
//my Code:
BackGround=gGui->addImage(core::rect<int>(0,0,1024,768));
BackGround->setImage(Texture);
The Image was displayed more refined under video::EDT_SOFTWARE2.
But my 3D models can't run swimmingly under video::EDT_SOFTWARE2
So I want use video::EDT_DIRECT3D9,and change to video::EDT_SOFTWARE2 when I want to show Image.
Am I right ???
How to change deviceType in the middle of the game??
Your image width and height must be of power 2.
Something from this: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, etc.
You have 768, which is 2x2x...x3. It's not power of 2. You must add some space to the bottom to make your image of size 1024x1024 (or remove some space from the bottom to make you image of size 1024x512).
Something from this: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, etc.
You have 768, which is 2x2x...x3. It's not power of 2. You must add some space to the bottom to make your image of size 1024x1024 (or remove some space from the bottom to make you image of size 1024x512).