Revision fe59d375
Added by Leszek Koltunski about 7 years ago
src/main/java/org/distorted/examples/starwars/StarWarsRenderer.java | ||
---|---|---|
150 | 150 |
public void onDrawFrame(GL10 glUnused) |
151 | 151 |
{ |
152 | 152 |
GLES30.glClear( GLES30.GL_DEPTH_BUFFER_BIT | GLES30.GL_COLOR_BUFFER_BIT); |
153 |
mScreen.renderTo(mRoot,System.currentTimeMillis());
|
|
153 |
mScreen.render(System.currentTimeMillis());
|
|
154 | 154 |
} |
155 | 155 |
|
156 | 156 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
172 | 172 |
|
173 | 173 |
setupScreen(width,height); |
174 | 174 |
|
175 |
mScreen.detachAll(); |
|
176 |
mScreen.attach(mRoot); |
|
175 | 177 |
mScreen.resize(width, height); |
176 | 178 |
} |
177 | 179 |
} |
Also available in: Unified diff
Change the the render() API!
THis introduces some regressions with the Effects3D app.