mar 2nd trying to fix memory leaks
This commit is contained in:
parent
1728a128e4
commit
6d0f6422bf
@ -412,6 +412,7 @@ void RelaxRateAnalysis::cleanup()
|
||||
// image1.delete();??
|
||||
|
||||
// detel image1 ??
|
||||
|
||||
image1.clear();
|
||||
image2.clear();
|
||||
image3.clear();
|
||||
|
||||
@ -57,6 +57,7 @@ void ShadowScapesAnalysis::setup(int camWidth, int camHeight)
|
||||
image4.clear();
|
||||
image5.clear();
|
||||
|
||||
|
||||
// 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
|
||||
image2.setUseTexture(true); // the image that needs to get written to the screen which takes the content of image1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user