Revision 660cd468
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/main/DistortedOutputSurface.java | ||
---|---|---|
259 | 259 |
{ |
260 | 260 |
child1 = children.get(i); |
261 | 261 |
currEffects = child1.getEffects(); |
262 |
currBucket = currEffects==null ? 0 : currEffects.getBucket();
|
|
262 |
currBucket = currEffects.getBucket(); |
|
263 | 263 |
|
264 | 264 |
sCurr += (" "+currBucket); |
265 | 265 |
|
... | ... | |
270 | 270 |
|
271 | 271 |
if( lastBucket!=currBucket ) |
272 | 272 |
{ |
273 |
quality = currEffects==null ? 0 : currEffects.getQuality(); |
|
274 |
bucketChange = i; |
|
275 |
|
|
276 | 273 |
if( lastBucket!=0 ) |
277 | 274 |
{ |
278 | 275 |
for(int j=bucketChange; j<i; j++) |
... | ... | |
284 | 281 |
numRenders += lastEffects.postprocess(time, this); |
285 | 282 |
numRenders += blitWithDepth(time, mBuffer[quality]); |
286 | 283 |
} |
284 |
|
|
285 |
quality = currEffects.getQuality(); |
|
286 |
bucketChange = i; |
|
287 | 287 |
} |
288 | 288 |
|
289 | 289 |
numRenders += child1.draw(time,mBuffer[quality]); |
Also available in: Unified diff
Correction for the last change.