Project

General

Profile

« Previous | Next » 

Revision a8c3ada7

Added by Leszek Koltunski almost 8 years ago

Improve aborting Effects.

View differences:

src/main/java/org/distorted/examples/interpolator/InterpolatorRenderer.java
66 66

  
67 67
   public void onSurfaceChanged(GL10 glUnused, int width, int height)
68 68
     {
69
     mBackground.abortAllEffects(EffectTypes.MATRIX.type);
69
     mBackground.abortEffects(EffectTypes.MATRIX);
70 70
     mBackground.scale((float)width/texWidth,(float)height/texHeight,1);
71 71
     Distorted.onSurfaceChanged(width, height);
72 72
     InterpolatorSurfaceView.setScreenSize(width,height);

Also available in: Unified diff