Project

General

Profile

« Previous | Next » 

Revision 736a0b00

Added by Leszek Koltunski over 3 years ago

We need to re-add upping the max number of fragment effects as their default was lowered back to 5 in the library.

View differences:

src/main/java/org/distorted/examples/earth/EarthRenderer.java
277 277
      Effect.enableEffects(EffectType.FRAGMENT);
278 278
      Effect.enableEffects(EffectType.VERTEX);
279 279

  
280
      DistortedLibrary.setMax(EffectType.FRAGMENT, 20);
281

  
280 282
      DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
281 283
      }
282 284

  

Also available in: Unified diff