Project

General

Profile

« Previous | Next » 

Revision 893e008d

Added by Leszek Koltunski over 7 years ago

Bugfix: create the Postprocessing buffer immediately.

View differences:

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