mar 2nd trying to fix memory leaks

This commit is contained in:
Jamie Allen 2012-03-02 10:27:45 +00:00
parent 1728a128e4
commit 6d0f6422bf
2 changed files with 3 additions and 1 deletions

View File

@ -412,6 +412,7 @@ void RelaxRateAnalysis::cleanup()
// image1.delete();?? // image1.delete();??
// detel image1 ?? // detel image1 ??
image1.clear(); image1.clear();
image2.clear(); image2.clear();
image3.clear(); image3.clear();

View File

@ -57,6 +57,7 @@ void ShadowScapesAnalysis::setup(int camWidth, int camHeight)
image4.clear(); image4.clear();
image5.clear(); image5.clear();
// images use for drawing the synthesized files to the screen /// // images use for drawing the synthesized files to the screen ///
image1.setUseTexture(false); // the non texture image that is needed to first load the image image1.setUseTexture(false); // the non texture image that is needed to first load the image
image2.setUseTexture(true); // the image that needs to get written to the screen which takes the content of image1 image2.setUseTexture(true); // the image that needs to get written to the screen which takes the content of image1