Project

General

Profile

« Previous | Next » 

Revision 52358355

Added by Leszek Koltunski over 7 years ago

Add API to render from a FBO to another FBO

View differences:

src/main/java/org/distorted/library/DistortedTree.java
224 224
        if( mTexture.mBitmapSet[0] )
225 225
          {
226 226
          GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTexture.mTextureDataH[0]);
227
          mEffects.drawNoEffectsPriv(mTexture, mGrid, mData.mDF);
227
          mEffects.drawNoEffectsPriv(mTexture.mHalfX, mTexture.mHalfY, mGrid, mData.mDF);
228 228
          }
229 229

  
230 230
        synchronized(this)
......
243 243
      GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mData.mDF.texIds[0]);
244 244
      }
245 245

  
246
    mEffects.drawPriv(currTime, mTexture, mGrid, df);
246
    mEffects.drawPriv(mTexture.mHalfX, mTexture.mHalfY, mGrid, df, currTime);
247 247
    }
248 248

  
249 249
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff