Revision fe59d375
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java | ||
---|---|---|
113 | 113 |
} |
114 | 114 |
|
115 | 115 |
mScreen = new DistortedScreen(); |
116 |
mScreen.attach(mRoot); |
|
116 | 117 |
} |
117 | 118 |
|
118 | 119 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
120 | 121 |
public void onDrawFrame(GL10 glUnused) |
121 | 122 |
{ |
122 | 123 |
GLES30.glClear( GLES30.GL_DEPTH_BUFFER_BIT | GLES30.GL_COLOR_BUFFER_BIT); |
123 |
mScreen.renderTo(mRoot,System.currentTimeMillis());
|
|
124 |
mScreen.render(System.currentTimeMillis());
|
|
124 | 125 |
} |
125 | 126 |
|
126 | 127 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Change the the render() API!
THis introduces some regressions with the Effects3D app.