Revision eadf0859
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/library/DistortedOutputSurface.java | ||
---|---|---|
115 | 115 |
|
116 | 116 |
// change tree topology (attach and detach children) |
117 | 117 |
boolean changed = DistortedAttachDaemon.toDo(); |
118 |
|
|
118 |
/* |
|
119 | 119 |
// debugging only |
120 | 120 |
if( changed ) |
121 | 121 |
{ |
... | ... | |
126 | 126 |
|
127 | 127 |
DistortedNode.debugMap(); |
128 | 128 |
} |
129 |
|
|
129 |
*/ |
|
130 | 130 |
// create and delete all underlying OpenGL resources |
131 | 131 |
// Watch out: FIRST change topology, only then deal |
132 | 132 |
// with OpenGL resources. That's because changing Tree |
133 | 133 |
// can result in additional Framebuffers that would need |
134 | 134 |
// to be created immediately, before the calls to drawRecursive() |
135 | 135 |
toDo(); |
136 |
|
|
136 |
/* |
|
137 | 137 |
// debugging only |
138 | 138 |
if( changed ) |
139 | 139 |
{ |
140 | 140 |
DistortedSurface.debugLists(); |
141 | 141 |
} |
142 |
|
|
142 |
*/ |
|
143 | 143 |
int numRenders = 0; |
144 | 144 |
|
145 | 145 |
for(int i=0; i<mNumChildren; i++) |
Also available in: Unified diff
Things seem to be working - switch off all debugs.