Project

General

Profile

« Previous | Next » 

Revision a43e2db1

Added by Leszek Koltunski almost 7 years ago

minor

View differences:

src/main/java/org/distorted/library/DistortedOutputSurface.java
198 198

  
199 199
          for(int j=0; j<EffectQuality.LENGTH; j++)
200 200
            {
201
            mBuffer1[j] = new DistortedFramebuffer( mDepthStencil     , DistortedObject.TYPE_SYST,
202
                                                    (int)(mWidth*mipmap), (int)(mHeight*mipmap) );
203
            mBuffer2[j] = new DistortedFramebuffer(NO_DEPTH_NO_STENCIL, DistortedObject.TYPE_SYST,
204
                                                    (int)(mWidth*mipmap), (int)(mHeight*mipmap) );
201
            mBuffer1[j] = new DistortedFramebuffer(mDepthStencil      ,TYPE_SYST, (int)(mWidth*mipmap), (int)(mHeight*mipmap) );
202
            mBuffer2[j] = new DistortedFramebuffer(NO_DEPTH_NO_STENCIL,TYPE_SYST, (int)(mWidth*mipmap), (int)(mHeight*mipmap) );
205 203
            mBuffer1[j].mMipmap = mipmap;
204
            mBuffer1[j].glClear(GLES30.GL_COLOR_BUFFER_BIT|GLES30.GL_DEPTH_BUFFER_BIT|GLES30.GL_STENCIL_BUFFER_BIT);
206 205
            mipmap *= EffectQuality.MULTIPLIER;
207 206
            }
208 207
          DistortedObject.toDo();  // create immediately

Also available in: Unified diff