Revision f05b1df0
Added by Leszek Koltunski almost 6 years ago
- ID f05b1df05f10bec5d3618e1ecac3fbadaef41a10
- Parent 344ac0e4
src/main/java/org/distorted/library/main/DistortedOutputSurface.java | ||
---|---|---|
214 | 214 |
|
215 | 215 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
216 | 216 |
// The postprocessing buffers mBuffer[] are generally speaking too large (there's just one static |
217 |
// set of them) so before we use them for output, we need to adjust the Vieport as if they were |
|
217 |
// set of them) so before we use them for output, we need to adjust the Viewport as if they were
|
|
218 | 218 |
// smaller. That takes care of outputting pixels to them. When we use them as input, we have to |
219 | 219 |
// adjust the texture coords - see the get{Width|Height}Correction functions. |
220 | 220 |
|
... | ... | |
367 | 367 |
EffectQueuePostprocess lastQueue=null, currQueue; |
368 | 368 |
long lastBucket=0, currBucket; |
369 | 369 |
|
370 |
oitClear(this); |
|
371 |
|
|
372 | 370 |
for(int i=0; i<numChildren; i++) |
373 | 371 |
{ |
374 | 372 |
child1 = children.get(i); |
... | ... | |
389 | 387 |
if( lastBucket==0 ) |
390 | 388 |
{ |
391 | 389 |
clonePostprocessingViewport(this); |
390 |
oitClear(this); |
|
392 | 391 |
} |
393 | 392 |
else |
394 | 393 |
{ |
Also available in: Unified diff
Adjustments for the 'Flag' app.