Revision bc29e409
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/fbo/FBORenderer.java | ||
---|---|---|
69 | 69 |
public void onDrawFrame(GL10 glUnused) |
70 | 70 |
{ |
71 | 71 |
GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT); |
72 |
mRoot.draw(System.currentTimeMillis(),mScreen);
|
|
72 |
mScreen.renderTo(mRoot,System.currentTimeMillis());
|
|
73 | 73 |
} |
74 | 74 |
|
75 | 75 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Again change of API. Now instead of the 'DistortedEffects.draw() and DistortedTree.draw()' we have 'DistortedFramebuffer.renderTo()'