Revision a8c3ada7
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/scratchpad/ScratchpadRenderer.java | ||
---|---|---|
76 | 76 |
|
77 | 77 |
public void onSurfaceChanged(GL10 glUnused, int width, int height) |
78 | 78 |
{ |
79 |
mBackground.abortAllEffects(EffectTypes.MATRIX.type);
|
|
79 |
mBackground.abortEffects(EffectTypes.MATRIX);
|
|
80 | 80 |
mBackground.scale((float)width/texWidth,(float)height/texHeight,1); |
81 | 81 |
Distorted.onSurfaceChanged(width,height); |
82 | 82 |
ScratchpadSurfaceView.setScreenSize(width,height); |
Also available in: Unified diff
Improve aborting Effects.