Revision 89a0d841
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/interpolator/InterpolatorRenderer.java | ||
---|---|---|
65 | 65 |
|
66 | 66 |
public void onSurfaceChanged(GL10 glUnused, int width, int height) |
67 | 67 |
{ |
68 |
mBackground.abortAllEffects(Distorted.TYPE_MATR);
|
|
68 |
mBackground.abortAllEffects(Distorted.TYPE_PRE);
|
|
69 | 69 |
mBackground.scale((float)width/texWidth,(float)height/texHeight,1); |
70 | 70 |
Distorted.onSurfaceChanged(width, height); |
71 | 71 |
InterpolatorSurfaceView.setScreenSize(width,height); |
Also available in: Unified diff
Beginnings of support for PostShader effects (SavePNG, SaveMP4)