Revision 436899f2
Added by Leszek Koltunski over 8 years ago
src/main/java/org/distorted/library/Distorted.java | ||
---|---|---|
384 | 384 |
public static void onDestroy() |
385 | 385 |
{ |
386 | 386 |
DistortedObjectList.release(); |
387 |
|
|
387 |
DistortedNode.release(); |
|
388 |
|
|
388 | 389 |
EffectListVertex.reset(); |
389 | 390 |
EffectListFragment.reset(); |
390 | 391 |
EffectListMatrix.reset(); |
src/main/java/org/distorted/library/DistortedNode.java | ||
---|---|---|
106 | 106 |
} |
107 | 107 |
} |
108 | 108 |
|
109 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
110 |
|
|
111 |
public static void release() |
|
112 |
{ |
|
113 |
mNextNodeID = 0; |
|
114 |
mMapNodeID.clear(); |
|
115 |
} |
|
116 |
|
|
109 | 117 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
110 | 118 |
|
111 | 119 |
private void markRecursive() |
Also available in: Unified diff
Fix for issue 1: 'FBO not visible' : we forgot to clear the HashMap in DistortedNode.