chevin
16-06-2011 03:49:46
hi all
first apology for my pool engilsh.
I update MyGUI to v3.2 and found a problem with using StaticImage.
I create two StaticImage objects and then update them in ogre's function frameRenderingQueued to show different image, like below code
and then the memory increase very fast and the application crashed in a while.
Is there a wrong way to use it?
environment : win7+vs2008
first apology for my pool engilsh.
I update MyGUI to v3.2 and found a problem with using StaticImage.
I create two StaticImage objects and then update them in ogre's function frameRenderingQueued to show different image, like below code
bool OgreSys::frameRenderingQueued( const Ogre::FrameEvent& evt )
{
mStaticImage1->setImageTexture(imageName1); // change the image according to my program logic
mStaticImage2->setImageTexture(imageName2);
return true;
}
and then the memory increase very fast and the application crashed in a while.
Is there a wrong way to use it?
environment : win7+vs2008