I try to display a jpeg file on the screen.
This is my code:
Code: Select all
//Init();
ImagesetManager::getSingleton().createImagesetFromImageFile(
"MainMenuBackground", "GUI/images/MainMenuBk.jpg");
//DisplayFunc:
StaticImage *background = ....
bkground->setBackgroundImage("MainMenuBackground", "full_image");
bkground->setPosition(Point(0.0f, 0.0f));
bkground->setSize(Size(1.0f, 1.0f));
The code works well, and the image displayed correctly on my machine.
But the other team members could not see it, there just be white on their screen.
We try to load another image supplied by the CEGUI SDK, well, it works
well on all the machines. So I don't know the reason of this problem.
Does anybody tell me why?
