Project

General

Profile

« Previous | Next » 

Revision e3a72781

Added by Leszek Koltunski about 5 years ago

Fixes for memory leak problems uncovered by the 'Rubik' app. (mainly: new method DistortedNode.markForDeletion)

View differences:

src/main/java/org/distorted/examples/rubik/RubikSurfaceView.java
80 80
        mScreenWidth = mScreenHeight = mScreenMin = 0;
81 81

  
82 82
        mRenderer = new RubikRenderer(this);
83
        mRenderer.createCube(RubikActivity.DEFAULT_SIZE);
83
        mRenderer.createCubeNow(RubikActivity.DEFAULT_SIZE);
84 84

  
85 85
        mQuatCurrent     = new Static4D(0,0,0,1);
86 86
        mQuatAccumulated = mRenderer.initializeQuat();

Also available in: Unified diff