Project

General

Profile

« Previous | Next » 

Revision 7c72e798

Added by Leszek Koltunski over 3 years ago

1) Beginnings of support for using the library from more than one activity
2) rename DistortedLibrary.onCreate() to onSurfaceCreated()
3) (rubik) add Cambodia's flag.

View differences:

src/main/java/org/distorted/examples/generic/GenericRenderer.java
322 322
      Effect.enableEffects(EffectType.FRAGMENT);
323 323
      Effect.enableEffects(EffectType.POSTPROCESS);
324 324

  
325
      DistortedLibrary.onCreate(mView.getContext(), this);
325
      DistortedLibrary.onSurfaceCreated(mView.getContext(), this);
326 326
      }
327 327

  
328 328
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff