Revision 0c303a2c
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/library/DistortedSurface.java | ||
---|---|---|
130 | 130 |
|
131 | 131 |
static synchronized void onDestroy() |
132 | 132 |
{ |
133 |
Job job; |
|
134 |
Iterator<Map.Entry<Long,Job>> it = mToDoMap.entrySet().iterator(); |
|
135 |
|
|
136 |
while (it.hasNext()) |
|
137 |
{ |
|
138 |
Map.Entry<Long,Job> entry = it.next(); |
|
139 |
job = entry.getValue(); |
|
140 |
if (job.surface.mType!=TYPE_SYST) it.remove(); |
|
141 |
} |
|
142 |
|
|
133 |
mToDoMap.clear(); |
|
143 | 134 |
mDoneList.clear(); |
144 | 135 |
|
145 | 136 |
mToDo = true; |
Also available in: Unified diff
Release all TREE FBOs in Distorted.onPause().