Revision bc29e409
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java | ||
---|---|---|
120 | 120 |
public void onDrawFrame(GL10 glUnused) |
121 | 121 |
{ |
122 | 122 |
GLES20.glClear( GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT); |
123 |
mRoot.draw(System.currentTimeMillis(),mScreen);
|
|
123 |
mScreen.renderTo(mRoot,System.currentTimeMillis());
|
|
124 | 124 |
} |
125 | 125 |
|
126 | 126 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Again change of API. Now instead of the 'DistortedEffects.draw() and DistortedTree.draw()' we have 'DistortedFramebuffer.renderTo()'