Project

General

Profile

« Previous | Next » 

Revision 54342a21

Added by Leszek Koltunski over 3 years ago

Plug two more memory leaks.

View differences:

src/main/java/org/distorted/objects/TwistyObject.java
519 519
  public void releaseResources()
520 520
    {
521 521
    mTexture.markForDeletion();
522
    mMesh.markForDeletion();
523
    mEffects.markForDeletion();
524

  
525
    for(int j=0; j<NUM_CUBITS; j++)
526
      {
527
      CUBITS[j].releaseResources();
528
      }
522 529
    }
523 530

  
524 531
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff