Revision 0afc143a
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/library/DistortedOutputSurface.java | ||
---|---|---|
65 | 65 |
|
66 | 66 |
private float mClearR, mClearG, mClearB, mClearA; |
67 | 67 |
private float mClearDepth; |
68 |
/* |
|
69 |
private String sNew="", sOld=""; |
|
70 |
*/ |
|
68 |
|
|
69 |
//private String sNew="", sOld="";
|
|
70 |
|
|
71 | 71 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
72 | 72 |
|
73 | 73 |
DistortedOutputSurface(int width, int height, int createColor, int createDepth, int fbo, int type) |
... | ... | |
149 | 149 |
DistortedNode child; |
150 | 150 |
DistortedEffectsPostprocess lastP=null, currP; |
151 | 151 |
long lastB=0, currB; |
152 |
/* |
|
153 |
sNew = ""; |
|
154 |
*/ |
|
152 |
|
|
153 |
//sNew = "";
|
|
154 |
|
|
155 | 155 |
for(int i=0; i<num; i++) |
156 | 156 |
{ |
157 | 157 |
child = children.get(i); |
158 | 158 |
currP = child.getEffectsPostprocess(); |
159 | 159 |
currB = currP==null ? 0 : currP.getBucket(); |
160 |
/* |
|
161 |
sNew += currB; |
|
162 |
*/ |
|
160 |
|
|
161 |
//sNew += currB;
|
|
162 |
|
|
163 | 163 |
if( lastB!=currB && lastB!=0 ) |
164 | 164 |
{ |
165 | 165 |
numRenders += lastP.postprocess(time,this); |
Also available in: Unified diff
Reset EffectsPostprocess' ID back in 0 on Destroy.