Project

General

Profile

« Previous | Next » 

Revision bc29e409

Added by Leszek Koltunski over 7 years ago

Again change of API. Now instead of the 'DistortedEffects.draw() and DistortedTree.draw()' we have 'DistortedFramebuffer.renderTo()'

View differences:

src/main/java/org/distorted/examples/plainmonalisa/RenderThread.java
267 267
    eglCore.makeCurrent(eglSurface);
268 268

  
269 269
    GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT);
270
    mEffects.draw(System.currentTimeMillis(), mTexture,mGrid,mScreen);
270
    mScreen.renderTo(mTexture, mGrid, mEffects, System.currentTimeMillis() );
271 271

  
272 272
    eglCore.swapBuffers(eglSurface);
273 273
    }

Also available in: Unified diff