Revision a8c3ada7
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/movingeffects/MovingEffectsRenderer.java | ||
---|---|---|
81 | 81 |
|
82 | 82 |
public void onSurfaceChanged(GL10 glUnused, int width, int height) |
83 | 83 |
{ |
84 |
mBackground.abortAllEffects(EffectTypes.MATRIX.type);
|
|
84 |
mBackground.abortEffects(EffectTypes.MATRIX);
|
|
85 | 85 |
mBackground.scale((float)width/texWidth,(float)height/texHeight,1); |
86 | 86 |
|
87 | 87 |
Distorted.onSurfaceChanged(width, height); |
Also available in: Unified diff
Improve aborting Effects.