Revision 893e008d
Added by Leszek Koltunski over 8 years ago
| src/main/java/org/distorted/library/DistortedOutputSurface.java | ||
|---|---|---|
| 175 | 175 |
{
|
| 176 | 176 |
mBuffer1 = new DistortedFramebuffer(mDepthCreated!=DONT_CREATE, DistortedSurface.TYPE_SYST, mWidth, mHeight); |
| 177 | 177 |
mBuffer2 = new DistortedFramebuffer(false , DistortedSurface.TYPE_SYST, mWidth, mHeight); |
| 178 |
DistortedSurface.toDo(); // create immediately |
|
| 178 | 179 |
} |
| 179 | 180 |
|
| 180 | 181 |
numRenders += child.draw(time,mBuffer1); |
Also available in: Unified diff
Bugfix: create the Postprocessing buffer immediately.