Project

General

Profile

« Previous | Next » 

Revision 6979a0e0

Added by Leszek Koltunski over 3 years ago

Remove all the calls to DistortedLibrary.setMax() (except for app 'Check', which explictly checks this API)

View differences:

src/main/java/org/distorted/examples/generic/GenericRenderer.java
315 315
      mCenterTexture.setTexture(bitmapC);
316 316
      mRegionTexture.setTexture(bitmapR);
317 317

  
318
      DistortedLibrary.setMax(EffectType.VERTEX  ,10);
319
      DistortedLibrary.setMax(EffectType.FRAGMENT,10);
320

  
321 318
      Effect.enableEffects(EffectType.VERTEX);
322 319
      Effect.enableEffects(EffectType.FRAGMENT);
323 320
      Effect.enableEffects(EffectType.POSTPROCESS);

Also available in: Unified diff